aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: Debian Stable  (Read 28488 times)

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Debian Stable
« on: September 17, 2009, 04:54:33 PM »

The stable version is updated to 2.2.6

deb http://www.vollstreckernet.de/debian/ stable amule-stable wx upnp

wx contains 2.8.10

upnp is empty for now, because the current stable debian has everything needed in it's original repositories. When it's needed, it get's filled, so for now you can ommit them, but maybe you'll need them latere.

For sure, you can get the sources for selfcompile the usual way via:

deb-src http://www.vollstreckernet.de/debian/ stable amule-stable wx upnp

You can combine those two possibilities to get just what you want.
Logged
Homefucking is killing prostitution

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 529
Re: Debian Stable
« Reply #1 on: September 22, 2009, 10:29:38 PM »

Here are the commands I entered:
Code: [Select]
sudo vim /etc/apt/sources.list

Added the following line to the file:
Quote
deb http://www.vollstreckernet.de/debian/ stable amule-stable wx upnp

Code: [Select]
sudo apt-get update
gpg --recv-keys D63913EF50D0AE60 --keyserver www.volstrecker.net
gpg --export -armor D63913EF50D0AE60 | sudo apt-key add -
sudo apt-get upgrade amule

Please correct me, if I made a mistake.
When I run "amule" it still starts the old version. Why?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4379
Re: Debian Stable
« Reply #2 on: September 23, 2009, 07:47:36 AM »

Mh, maybe you have aMule installed twice, once in /usr/bin/amule and once in /usr/local/bin/amule? Could you please check this?
Logged

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Debian Stable
« Reply #3 on: September 23, 2009, 01:03:07 PM »

I would like to know what the apt-get upgrade amule command gave back. Upgrade doesn't take parameters. Maybe the error lies in your first gpg-command. --keyserver tells gpg from where to download my key. First, the domain is (at least in the post) wrong, you need 2 l. Second, I don't have a keyserver running, so the command will fail with the right domain, too. Ommit the keyserver param and try again.

Maybe the output of "apt-cache policy amule" tells you more about the problem.
Logged
Homefucking is killing prostitution

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 529
Re: Debian Stable
« Reply #4 on: September 23, 2009, 06:44:54 PM »

I checked and aMule isn't installed twice, so I tried the things Vollstrecker suggested.

Here is the console snapshot separated by the commands that I entered:

Code: [Select]
marcell@marcell-laptop:~$ gpg --recv-keys D63913EF50D0AE60
gpg: requesting key 50D0AE60 from hkp server subkeys.pgp.net
gpg: key 50D0AE60: "Werner Mahr (Der Vollstrecker) <werner@vollstreckernet.de>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Code: [Select]
marcell@marcell-laptop:~$ gpg --export -armor D63913EF50D0AE60 | sudo apt-key add -
OK
Code: [Select]
marcell@marcell-laptop:~$ apt-cache policy amule
amule:
  Installed: 2.2.3-1~ppa1~hardy2
  Candidate: 2.2.6-1
  Version table:
     2.2.6-1 0
        500 http://www.vollstreckernet.de stable/amule-stable Packages
 *** 2.2.3-1~ppa1~hardy2 0
        100 /var/lib/dpkg/status
     2.2.0~svn20080218-0ubuntu4.1 0
        500 http://hu.archive.ubuntu.com hardy-updates/universe Packages
        500 http://security.ubuntu.com hardy-security/universe Packages
     2.2.0~svn20080218-0ubuntu4 0
        500 http://hu.archive.ubuntu.com hardy/universe Packages
Code: [Select]
marcell@marcell-laptop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  amule amule-common amule-utils
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Logged

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Debian Stable
« Reply #5 on: September 23, 2009, 07:24:47 PM »

So now we're a little bit wiser.  Could you try with dselect, it should tell you what's wrong when you select amule for install.
Logged
Homefucking is killing prostitution

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 529
Re: Debian Stable
« Reply #6 on: September 23, 2009, 08:41:22 PM »

I have installed dselect, but I can't figure out how it's working. I have read the "instructions" but using the tool is a nightmare. >:(

Here's what I get when I selected UPDATE in dselect:

Code: [Select]
running dpkg --pending --configure ...
Hit http://hu.archive.ubuntu.com hardy Release.gpg
Ign http://hu.archive.ubuntu.com hardy/main Translation-en_US                        
Ign http://hu.archive.ubuntu.com hardy/restricted Translation-en_US                  
Ign http://hu.archive.ubuntu.com hardy/universe Translation-en_US                    
Ign http://hu.archive.ubuntu.com hardy/multiverse Translation-en_US                  
Hit http://hu.archive.ubuntu.com hardy-updates Release.gpg                            
Ign http://hu.archive.ubuntu.com hardy-updates/main Translation-en_US                
Ign http://hu.archive.ubuntu.com hardy-updates/restricted Translation-en_US          
Ign http://hu.archive.ubuntu.com hardy-updates/universe Translation-en_US            
Ign http://hu.archive.ubuntu.com hardy-updates/multiverse Translation-en_US          
Hit http://hu.archive.ubuntu.com hardy Release                                        
Hit http://security.ubuntu.com hardy-security Release.gpg                            
Ign http://security.ubuntu.com hardy-security/main Translation-en_US                  
Hit http://hu.archive.ubuntu.com hardy-updates Release                                
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US            
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US              
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US            
Hit http://hu.archive.ubuntu.com hardy/main Packages                                                      
Hit http://security.ubuntu.com hardy-security Release                                                      
Hit http://hu.archive.ubuntu.com hardy/restricted Packages                          
Hit http://hu.archive.ubuntu.com hardy/main Sources                                  
Hit http://hu.archive.ubuntu.com hardy/restricted Sources                            
Hit http://hu.archive.ubuntu.com hardy/universe Packages                              
Hit http://hu.archive.ubuntu.com hardy/universe Sources                                              
Hit http://hu.archive.ubuntu.com hardy/multiverse Packages                                          
Hit http://hu.archive.ubuntu.com hardy/multiverse Sources                                            
Hit http://security.ubuntu.com hardy-security/main Packages                                          
Hit http://hu.archive.ubuntu.com hardy-updates/main Packages                                        
Hit http://hu.archive.ubuntu.com hardy-updates/restricted Packages            
Hit http://hu.archive.ubuntu.com hardy-updates/main Sources                    
Hit http://hu.archive.ubuntu.com hardy-updates/restricted Sources    
Hit http://hu.archive.ubuntu.com hardy-updates/universe Packages    
Hit http://hu.archive.ubuntu.com hardy-updates/universe Sources      
Hit http://hu.archive.ubuntu.com hardy-updates/multiverse Packages  
Hit http://hu.archive.ubuntu.com hardy-updates/multiverse Sources    
Hit http://security.ubuntu.com hardy-security/restricted Packages    
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Get:1 http://www.vollstreckernet.de stable Release.gpg [197B]
Ign http://www.vollstreckernet.de stable/amule-stable Translation-en_US
Ign http://www.vollstreckernet.de stable/wx Translation-en_US
Ign http://www.vollstreckernet.de stable/upnp Translation-en_US
Get:2 http://www.vollstreckernet.de stable Release [8459B]
Ign http://www.vollstreckernet.de stable/amule-stable Packages                                                        
Ign http://www.vollstreckernet.de stable/wx Packages                                                                  
Ign http://www.vollstreckernet.de stable/upnp Packages                                                                
Hit http://www.vollstreckernet.de stable/amule-stable Packages                                                        
Hit http://www.vollstreckernet.de stable/wx Packages                                                                  
Hit http://www.vollstreckernet.de stable/upnp Packages    

Note that vollstrecker.net is in there too many times for my taste and sometimes its Ign(-ored). ???
« Last Edit: September 23, 2009, 08:43:40 PM by ^marcell^ »
Logged

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 529
Re: Debian Stable
« Reply #7 on: September 23, 2009, 08:55:12 PM »

... I tried it with Synaptic instead. There I noticed that under "Settings > Repositories > [Updates]" the entry "Unsupported updates (hardy-backports)" was unticked.
I ticked it and reloaded the package list. Now I saw that aMule has 2.2.6-1 as "Latest Version". But when I marked it for update and started the update process the following appeared:

Code: [Select]
amule:
  Depends: libstdc++6 (>=4.3) but 4.2.4-1ubuntu4 is to be installed
  Depends: libupnp3  but it is not installable
  Depends: amule-common (=2.2.6-1) but 2.2.3-1~ppa1~hardy2 is to be installed
  Depends: amule-i18n-en-gb but it is not going to be installed or
amule-i18n

What is also strange is that when I mark "amule-common" for installation it says that "amule" has to be removed. ???
Logged

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Debian Stable
« Reply #8 on: September 23, 2009, 09:11:48 PM »

First: If you understand the handling of dselect, you'll love it. I do.
Second: That happens if you mix debian and ubuntu repos. You could try if the ones for testing fit into ubuntu, or you can wait for ubuntu packages. Change to debian (I wouldn't even try, because that is really a nightmare if you don't want to reinstall everything), or build from source. I would try the testing ones, and if they don't work, try building, because you'll get all packages you need. And maybe the build-deps fit without manupulating them. But take the source-pkg from my repo for this, the update for the debian-dir in official tarball wasn't ready on release.
Logged
Homefucking is killing prostitution

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 529
Re: Debian Stable
« Reply #9 on: September 23, 2009, 09:21:32 PM »

You suggest to build a package myself by using amule_2.2.6.orig.tar.gz as default?
I have no clue how to build a package by hand. I was hoping that Festor would come up with one, but not yet.
Logged

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Debian Stable
« Reply #10 on: September 24, 2009, 02:24:10 PM »

Download the orig.tar.gz, diff.gz and dsc. Then do an dpkg-source -x *.dsc, go into to created dir and do an "dpkg-buildpackage -us -uc -b -rfakeroot". It will complain about not all dependencies satisfiyed. Install the deps if they and try again. If you don't get the right version, adjust debian/control accordingly.
Logged
Homefucking is killing prostitution

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 529
Re: Debian Stable
« Reply #11 on: September 24, 2009, 07:31:24 PM »

I did what you said and installed all missing packages except libupnp3 (>=1.6.6) which the system refuses to install. Apt-get says that the package is up to date.
So I downloaded the ubuntu package and tried to install it with GDebi, but it gave me the attached screenshot.
Logged

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1471
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Debian Stable
« Reply #12 on: September 24, 2009, 11:27:16 PM »

The build-dep is not libupnp3, it's libupnp-den(>>1.6.6). If your system just has version 1.6.2 or something, just change the version of it in debian/control line 5 and try it with this one.
Logged
Homefucking is killing prostitution

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 529
Re: Debian Stable
« Reply #13 on: September 25, 2009, 01:58:22 PM »

First of all: thank you Vollstrecker (Werner). You are a great help.  ;)

Here is what I did this time:

  • removed libupnp2 and libupnp-dev with synaptic
  • downloaded and installed libupnp3
  • downloaded and installed libupnp3-dev
  • changed libupnp-dev in the debian/control file to libupnp3-dev
  • executed the "dpkg-buildpackage -us -uc -b -rfakeroot" command

Result: lots of debian packages like posted on your site.
What do I do now? Which one to install?

EDIT: Installed "amule_2.2.6-1_i386.deb" using GDebi. New version seems to work fine. Perhaps I should post the packages now. ::)
But how and where?
« Last Edit: September 25, 2009, 03:56:48 PM by ^marcell^ »
Logged

zhao

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
Re: Debian Stable
« Reply #14 on: September 25, 2009, 03:58:24 PM »

I use Ubuntu 9.04
I add "deb http://www.vollstreckernet.de/debian/ stable amule-stable wx upnp" to sources.list

when I run apt-get update, get below message

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Fetched 639B in 16s (39B/s)
W: Failed to fetch http://www.vollstreckernet.de/debian/dists/stable/amule-stable/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://www.vollstreckernet.de/debian/dists/stable/wx/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)

W: Failed to fetch http://www.vollstreckernet.de/debian/dists/stable/upnp/binary-i386/Packages.bz2  Sub-process bzip2 returned an error code (2)
////////////////////////////////////////////////////////////////////////////////
why? thanks
Logged
Pages: [1] 2 3