Need help with apt-get upgrade on headless ubuntu server

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

As stated, I need some help upgrading transmission on my jaunty server. I originally followed the instructions from the "Ubuntu" thread in the Binaries forum (http://forum.transmissionbt.com/viewtop ... =13&t=5604... Also, I wasn't able to post to that thread. Is it locked?) to get up and running. I've set my repositories in /etc/apt/sources.list, I have the gpg keys, and I installed the whole transmission package (not-cli or -gtk etc.). Version 1.54 has been working like a charm.

But now I want to upgrade. If I run "apt-get upgrade transmission" I get the following output.

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  transmission transmission-common
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
So it certainly appears to not be upgrading. I've been looking through the wiki and the headless section (http://trac.transmissionbt.com/wiki/Hea ... ge/General) has the info to get you up and running, but doesn't address upgrades. If someone is kind enough to help me out, I'd be happy to write a full walk-through for the wiki.

I'm sure that some of this can be attributed to my extreme linux n00bness, but I'm sure others are in the same boat. Also, if a mod needs to move this thread, that's fine. I wasn't sure if the GTK+ forum has come to mean all linux issues, or only the GTK+ gui issues. (If that's the case, what about the QT+ and us headless types?) Thanks very much in advance to whoever can and will help me out.
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: Need help with apt-get upgrade on headless ubuntu server

Post by demons33derxx »

What version of Ubuntu are you using, as I believe the distros cap out at certain upgrade versions in each distro. Try using the karmic ppa or repos.

Also,make sure your Software sources and make sure Unsupported ( Backports) are enabled listed then try again.
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

I'm running Jaunty.

I don't quite understand what you mean by that last sentence. Am I to check to see if "Software Sources" and "Backports" are enabled on my machine? What are those and where can I check?
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

I just tried changing the repositories to Karmic in my sources.list, ran "apt-get update" and then ran "apt-get upgrade transmission" but still no luck.

Code: Select all

Hit http://ports.ubuntu.com jaunty Release.gpg
Get:1 http://ppa.launchpad.net karmic Release.gpg [307B]
Hit http://ports.ubuntu.com jaunty Release        
Get:2 http://ppa.launchpad.net karmic Release [66.0kB]
Hit http://ports.ubuntu.com jaunty/main Packages  
Hit http://ports.ubuntu.com jaunty/restricted Packages
Hit http://ports.ubuntu.com jaunty/universe Packages
Hit http://ports.ubuntu.com jaunty/multiverse Packages
Get:3 http://ppa.launchpad.net karmic/main Packages [761B]
Get:4 http://ppa.launchpad.net karmic/main Sources [531B]
Fetched 67.6kB in 1s (37.4kB/s)
Reading package lists... Done

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  transmission transmission-common
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: Need help with apt-get upgrade on headless ubuntu server

Post by demons33derxx »

Dont know what your issue is, but try this in your terminal

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/main/t/transmission/transmission-common_1.75-0ubuntu2_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/t/transmission/transmission_1.75-0ubuntu2_all.deb
sudo dpkg -i ~/transmission-common_1.75-0ubuntu2_all.deb;sudo dpkg -i ~/transmission_1.75-0ubuntu2_all.deb
jch
Posts: 175
Joined: Wed May 13, 2009 12:08 am

Re: Need help with apt-get upgrade on headless ubuntu server

Post by jch »

Try

Code: Select all

apt-get install transmission-common transmission
(Yes, that's right, install, not upgrade. Don't ask, there are three people win the world who understand how APT works, and nobody is quite sure who the third one is.)

--Juliusz
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

Don't ask, there are three people win the world who understand how APT works, and nobody is quite sure who the third one is.
Ha! :) I tried editing sources.list back to jaunty instead of karmic and ran apt-get install transmission and got the following.

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
transmission is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Same result for apt-get install transmisson-common transmission. Should I changes sources.list to karmic? Do the karmic packages work on a jaunty install? I just don't want to break anything.
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

mcclurec wrote:Should I changes sources.list to karmic? Do the karmic packages work on a jaunty install? I just don't want to break anything.
Anyone? Is it possible to use the Karmic Koala packages on the Jaunty Jackalope version?
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

demons33derxx wrote:Dont know what your issue is, but try this in your terminal

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/main/t/transmission/transmission-common_1.75-0ubuntu2_all.deb
wget http://mirrors.kernel.org/ubuntu/pool/universe/t/transmission/transmission_1.75-0ubuntu2_all.deb
sudo dpkg -i ~/transmission-common_1.75-0ubuntu2_all.deb;sudo dpkg -i ~/transmission_1.75-0ubuntu2_all.deb
Sorry Demons, I didn't see your post earlier. I tried to run it, but bash says it can't find command "wget"
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: Need help with apt-get upgrade on headless ubuntu server

Post by demons33derxx »

Try sudo apt-get install wget

then try again and let us know. Thx
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

Getting closer I think. I had to split the last command into two because of some errors. See below... (note: I'm logged in as root, so no need for sudo)

Code: Select all

dpkg -i ~/transmission-common_1.75-0ubuntu2_all.deb
(Reading database ... 15442 files and directories currently installed.)
Preparing to replace transmission-common 1.75-0ubuntu2 (using .../transmission-common_1.75-0ubuntu2_all.deb) ...
Unpacking replacement transmission-common ...
Setting up transmission-common (1.75-0ubuntu2) ...

Code: Select all

dpkg -i ~/transmission_1.75-0ubuntu2_all.deb
(Reading database ... 15442 files and directories currently installed.)
Preparing to replace transmission 1.75-0ubuntu2 (using .../transmission_1.75-0ubuntu2_all.deb) ...
Unpacking replacement transmission ...
dpkg: dependency problems prevent configuration of transmission:
 transmission depends on transmission-cli (>= 1.75-0ubuntu2); however:
  Version of transmission-cli on system is 1.51-0ubuntu3.
 transmission depends on transmission-gtk (>= 1.75-0ubuntu2); however:
  Version of transmission-gtk on system is 1.51-0ubuntu3.
dpkg: error processing transmission (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 transmission
Any thoughts on the second package? Was there something wrong while getting it from the server? BTW, thanks for the help.

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/universe/t/transmission/transmission_1.75-0ubuntu2_all.deb
--2009-12-07 19:53:29--  http://mirrors.kernel.org/ubuntu/pool/universe/t/transmission/transmission_1.75-0ubuntu2_all.deb
Resolving mirrors.kernel.org... 204.152.191.39, 149.20.20.135
Connecting to mirrors.kernel.org|204.152.191.39|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 920 [text/plain]
Saving to: `transmission_1.75-0ubuntu2_all.deb'

100%[==============================================================================>] 920         --.-K/s   in 0s      

2009-12-07 19:53:29 (23.0 MB/s) - `transmission_1.75-0ubuntu2_all.deb' saved [920/920]
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: Need help with apt-get upgrade on headless ubuntu server

Post by demons33derxx »

Yea, no prob. Anyway, lets just go ahead and try to uninstall everything you have now and get you to a clean state:

Code: Select all

apt-get remove transmission-cli transmission-gtk transmission-common transmission
Next carefully type this in and read each line in the terminal and verify with a yes or no. It should only be removing the previously downloaded transmissin .debs

Code: Select all

rm -i ~/transmission*
Okay, if everything goes right you should be free of any of the old stuff.

Now this is to install

Try this:

Code: Select all

wget http://mirrors.kernel.org/ubuntu/pool/main/t/transmission/transmission-common_1.80~b1-0ubuntu1_all.deb http://mirrors.kernel.org/ubuntu/pool/universe/t/transmission/transmission-cli_1.80~b1-0ubuntu1_i386.deb http://mirrors.kernel.org/ubuntu/pool/universe/t/transmission/transmission-daemon_1.80~b1-0ubuntu1_i386.deb http://mirrors.kernel.org/ubuntu/pool/main/t/transmission/transmission-gtk_1.80~b1-0ubuntu1_i386.deb http://mirrors.kernel.org/ubuntu/pool/main/o/openssl/libssl0.9.8_0.9.8k-7ubuntu3_i386.deb http://mirrors.kernel.org/ubuntu/pool/main/libe/libevent/libevent-1.4-2_1.4.13-stable-1_i386.deb
Then try

Code: Select all

dpkg -i libevent-1.4-2_1.4.13-stable-1_i386.deb libssl0.9.8_0.9.8k-7ubuntu3_i386.deb transmission-common_1.80~b1-0ubuntu1_all.deb transmission-cli_1.80~b1-0ubuntu1_i386.deb transmission-daemon_1.80~b1-0ubuntu1_i386.deb transmission-gtk_1.80~b1-0ubuntu1_i386.deb
Also, why do you have the GTK on a headless?
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

No reason to have the GTK really. I just have it leftover from my first install. I grabbed the entire package because I'd rather have too much than have it not work. In your code samples, I omitted the references to GTK. OK, two errors of note...

Code: Select all

root@Zeus:~# apt-get remove transmission-cli transmission-gtk transmission-common transmission
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  transmission-daemon: Depends: transmission-common (= 1.51-0ubuntu3) but it is not going to be installed
                       Recommends: transmission-cli (>= 1.50-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
and

Code: Select all

root@Zeus:~# dpkg -i libevent-1.4-2_1.4.13-stable-1_i386.deb libssl0.9.8_0.9.8k-7ubuntu3_i386.deb transmission-common_1.80~b1-0ubuntu1_all.deb transmission-cli_1.80~b1-0ubuntu1_i386.deb transmission-daemon_1.80~b1-0ubuntu1_i386.deb
dpkg: error processing libevent-1.4-2_1.4.13-stable-1_i386.deb (--install):
 package architecture (i386) does not match system (armel)
dpkg: error processing libssl0.9.8_0.9.8k-7ubuntu3_i386.deb (--install):
 package architecture (i386) does not match system (armel)
(Reading database ... 15442 files and directories currently installed.)
Preparing to replace transmission-common 1.75-0ubuntu2 (using transmission-common_1.80~b1-0ubuntu1_all.deb) ...
Unpacking replacement transmission-common ...
dpkg: error processing transmission-cli_1.80~b1-0ubuntu1_i386.deb (--install):
 package architecture (i386) does not match system (armel)
dpkg: error processing transmission-daemon_1.80~b1-0ubuntu1_i386.deb (--install):
 package architecture (i386) does not match system (armel)
Setting up transmission-common (1.80~b1-0ubuntu1) ...
Errors were encountered while processing:
 libevent-1.4-2_1.4.13-stable-1_i386.deb
 libssl0.9.8_0.9.8k-7ubuntu3_i386.deb
 transmission-cli_1.80~b1-0ubuntu1_i386.deb
 transmission-daemon_1.80~b1-0ubuntu1_i386.deb
The first one seems odd. Did it not delete them because of unresolved dependencies? Second, is a system architecture problem. I'm running on an ARM processor (Its a Sheeva plug computer http://www.globalscaletechnologies.com/ ... it-us.aspx) so I'm betting that's the issue. From the looks of it, you're suggesting the bleeding edge 1.80. Perhaps the ARM architecture isn't in the branch yet.

Edit: I just tried grabbing the 1.75 packages but had the same luck. The repositories only list i386 and amd64 processors. Are there any builds for ARMs after 1.50?
mcclurec
Posts: 14
Joined: Fri Aug 28, 2009 7:05 pm

Re: Need help with apt-get upgrade on headless ubuntu server

Post by mcclurec »

Alright, I believe I've successfully removed the old transmission. Now if we can only get an ARM build of 1.75 or higher...

Code: Select all

root@Zeus:~# apt-get -f remove transmission transmission-common transmission-cli transmission-gtk transmission-daemon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  aspell-en libgtk2.0-common libatk1.0-0 libts-0.0-0 ttf-dejavu-core libxfixes3 shared-mime-info libenchant1c2a
  notification-daemon libxcb-render-util0 aspell conkeror ttf-dejavu-extra x11-utils libpixman-1-0 libx11-data
  libdbus-1-3 libdbus-glib-1-2 libxxf86vm1 xulrunner-1.9 x11-xserver-utils hunspell-en-us gconf2 libwnck-common
  libnspr4-0d libnotify1 libcairo2 libfontconfig1 fontconfig-config xml-core libxmuu1 libpango1.0-common
  libxcb-render0 hicolor-icon-theme libexpat1 libxxf86misc1 libck-connector0 libdatrie0 libdirectfb-1.0-0 fontconfig
  libwnck22 libsexy2 libxfont1 libgconf2-4 libxres1 dbus libxcb1 libdrm2 libstartup-notification0 libxau6 libxxf86dga1
  libxaw7 libhunspell-1.2-0 cpp libpango1.0-0 libgmp3c2 libgtk2.0-bin libxft2 dictionaries-common libxcomposite1
  libice6 libxdmcp6 libthai0 libpolkit-dbus2 libpython2.6 libidl0 libxml2 libglade2-0 libxmu6 libxtrap6
  libglib2.0-data libatk1.0-data libxpm4 xdg-utils libxrender1 sgml-base gconf2-common libtiff4 libfontenc1 libjasper1
  ttf-dejavu libjpeg62 libmpfr1ldbl xfonts-utils libpam-ck-connector libfreetype6 libthai-data libxtst6 libglib2.0-0
  liborbit2 x11-common libgl1-mesa-glx libsysfs2 libx11-6 cpp-4.3 libsm6 libxdamage1 dbus-x11 libxi6
  conkeror-spawn-process-helper libxcursor1 xfonts-encodings libxt6 libxinerama1 libxv1 libxext6 defoma libxrandr2
  libnss3-1d x-ttcidfont-conf libaspell15 libgtk2.0-0 libpolkit2 consolekit
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  transmission transmission-cli transmission-common transmission-daemon transmission-gtk
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 4436kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 15442 files and directories currently installed.)
Removing transmission ...
Removing transmission-cli ...
Removing transmission-daemon ...
 * Stopping bittorrent daemon transmission-daemon
   ...done.
Removing transmission-gtk ...
Removing transmission-common ...
Should I bother with the auto-remove, or just leave those packages around for the eventual upgrade?
demons33derxx
Posts: 60
Joined: Tue Sep 08, 2009 12:34 am

Re: Need help with apt-get upgrade on headless ubuntu server

Post by demons33derxx »

Well, unfortunately I dont have really have/know much about the ARM processor and it's uses besides that it's probrably used on my phone. Though, perhaps you can try to build from source and see what happens.
Post Reply