Author Topic: aptupgrade says finished ok, but hasn't replaced anything  (Read 973 times)

Offline xbask

  • Jr. Member
  • **
  • Posts: 16
Basically, after installing 'aptupgrade' and running it from the menu as invited, it says it has finished and to reboot. People think that the upgrade of Synaptic and other files has been done but it hasn't, and unless they dig into /usr/bin or /usr/sbin they'll still have an un-optimised system.


On 2 different installations, 1 Gnome and 1 Zen, aptupgrade from the Main repo was installed. Using the menu item for it, it went through its dialog and said it had done its work and to reboot.

On reboot I noticed no difference to the small icon for Synaptic and the 'about' still showed just version 57-2.

I looked at the /usr/bin and /usr/sbin and saw that Synaptic and also the reference to Consolehelper were still older dated. I looked at the rpm binaries and they all seemed older too.

I got hold of aptupgrade again and looking in /opt/aptupgrade and looking at the actual file 'aptupgrade' which is run from that menu item, it's just a script and shows that it's executing the various rpms in /opt/aptupgrade.

So, in a terminal window as root I ran /usr/bin/aptupgrade.

I saw that there was a bunch of dependency errors but nevertheless aptupgrade said it had done its job and to reboot.

When aptupgrade is run and finishes the directory and files in /opt/aptupgrade are deleted. If I re-install aptupgrade and run it again it tells me that it has already been run. This means I have to restore from a backup.

Next, I ran each rpm in turn and saw which was giving dependency errors and noted some names. I ran Synaptic normally and installed those packages that seemed to be missing.

On re-running aptupgrade from the terminal it went through alright, still with the "gvfs permission errors" which can be ingored, but after a reboot it had indeed replaced the various files it should have.

I humbly suggest that either a readme is added to the install saying that certain packages are needed to ensure that it will complete properly, or additions to the script are made to give a dialog saying that it can't complete because of missing packages/dependencies. Otherwise it's saying it has done its job but it hasn't in fact.

On the 2 installs I had made particular updates only and the extra packages I needed were these:

autoconf
automake
elfutils
gcc-c++
libstdc++-devel
libtool-base


Using a 'rpm -qp --requires' on the rpms in /opt/aptupgrade gives this list

apt >= 0.5.15lorg3.95
apt-common >= 0.5.15lorg3.95
autoconf  
automake  
/bin/sh  
bzip2  
chkconfig  
coreutils  
cpio  
elfutils  
file  
gawk  
gcc-c++  
gksu  
glibc  
gnupg  
ldconfig  
libapt-pkg0 >= 0.5.15lorg3.95
libapt-pkg.so.3  
libbz2.so.1  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.11)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.2.3)  
libc.so.6(GLIBC_2.3)  
libc.so.6(GLIBC_2.3.2)  
libc.so.6(GLIBC_2.3.4)  
libc.so.6(GLIBC_2.4)  
libc.so.6(GLIBC_2.8)  
libdb-4.8.so  
libdl.so.2  
libelf.so.1  
libgcc_s.so.1  
libgcc_s.so.1(GCC_3.0)  
libgdk_pixbuf-2.0.so.0  
libgdk-x11-2.0.so.0  
libglade-2.0.so.0  
libglib-2.0.so.0  
libgobject-2.0.so.0  
libgtk-x11-2.0.so.0  
liblua.so.5.1  
liblzma.so.5  
libmagic.so.1  
libm.so.6  
libnspr4.so  
libnss3.so  
libnssutil3.so  
libpango-1.0.so.0  
libperl.so  
libplc4.so  
libplds4.so  
libpopt.so.0  
libpthread.so.0  
libpthread.so.0(GLIBC_2.0)  
libpthread.so.0(GLIBC_2.1)  
libpthread.so.0(GLIBC_2.2)  
libpthread.so.0(GLIBC_2.3.3)  
libpython2.6.so.1.0  
libreadline.so.6  
librpm1 >= 4.8.1
librpm1 = 4.8.1-4pclos2011
librpmbuild.so.1  
librpmio.so.1  
librpm.so.1  
librt.so.1  
libsmime3.so  
libsoftokn3.so  
libsqlite3.so.0  
libssl3.so  
libstdc++.so.6  
libstdc++.so.6(GLIBCXX_3.4)  
libstdc++.so.6(GLIBCXX_3.4.11)  
libstdc++.so.6(GLIBCXX_3.4.14)  
libstdc++.so.6(GLIBCXX_3.4.9)  
libtool-base  
libX11.so.6  
libxml2.so.2  
libz.so.1  
lzma  
make  
mktemp  
multiarch-utils  
patch  
pclinuxos-release  
perl(base)  
perl-base >= 5.10.1
perl(Carp)  
perl(DynaLoader)  
perl(Exporter)  
perl(Fcntl)  
perl-File-Slurp  
perl-List-MoreUtils  
perl(POSIX)  
perl(strict)  
perl(Symbol)  
perl(vars)  
pkgconfig  
python  
python-base >= 2.6
rpm >= 4.8.1
rpm = 4.8.1-4pclos2011
rpm-helper  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsLzma) <= 4.4.6-1
rpmlib(VersionedDependencies) <= 3.0.3-1
rpm-pclinuxos-setup  
rpm-pclinuxos-setup = 1.134-2pclos2011
rpm-pclinuxos-setup-build >= 1.34
rpm-rambo-setup  
rpm-rambo-setup-build  
rtld(GNU_HASH)  
scrollkeeper  
setup  
spec-helper  
tar  
unzip  
update-alternatives  
« Last Edit: June 30, 2011, 07:05:18 AM by xbask »

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #1 on: June 30, 2011, 07:05:33 AM »
No obvious changes should be good in your case.

apt >= 0.5.15lorg3.95
rpm >= 4.8.1

What is your Synaptic version now?

$ rpm -qa synaptic*
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline xbask

  • Jr. Member
  • **
  • Posts: 16
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #2 on: June 30, 2011, 07:18:22 AM »
No obvious changes should be good in your case.



Hi,  I don't understand that statement.

When the aptupgrade is _actually_ successful then the icon for Synaptic chnages, which is an "obvious".

If I run the 'rpm -qa' then it shows as 57-2.23 which is correct. If that is run on an install where aptupgrade has falsely claimed success then it shows the orginal 57-2  (I don't have the actual number to hand but it's not 23).

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2399
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #3 on: June 30, 2011, 07:28:54 AM »
Here after aptupgrade:

$ rpm -qa synaptic*
synaptic-0.57.2-23pclos2011

The Synaptic icon isn't changed till now.

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #4 on: June 30, 2011, 07:44:26 AM »
xbask, what I was trying to say is you are OK as you are good to keep on rolling with PCLinuxOS. Chill. Enjoy the ride.

@Vorteks ... we are updated!
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1105
  • Make Love Not War
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #5 on: June 30, 2011, 07:47:24 AM »
Hmmm. I just installed aptupgrade & wasn't instructed to reboot. It said to run the aptupgrade from pc>software center.
I don't think there is any risk of a user being mistaken that he is fully updated. As I understand aptupdate updates apt, as a relude to upgrading th package manager. Updates continue as usual.
« Last Edit: June 30, 2011, 07:50:30 AM by johnmart »
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #6 on: June 30, 2011, 07:49:35 AM »
Hmmm. I just installed aptupgrade & wasn't instructed to reboot. It said to run the aptupgrade from pc>software center.in
I don't think there is any risk of a user being mistaken that he as fully updated.

Just to be extra sure, johnmart, check the versions of apt, rpm and synaptic. And if you are on the same numbers as what is in Synaptics, then you oughta be good.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline johnmart

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1105
  • Make Love Not War
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #7 on: June 30, 2011, 07:54:03 AM »
Archie, I think you misunderstood my meaning. I thought the OP was mistaken that aptupdate told him to reboot. I just wanted to clarify that aptupdate was separate from regular system updates.  :)
Acer Aspire, Intel core2 2.20GHz, ‎Graphics nVidia ‎G98M [GeForce G 105M], 2gb ram, Wireless Intel Link 5100

Why, any 5 year old child could understand this.
Somebody bring me a 5 year old.
Groucho

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #8 on: June 30, 2011, 08:12:34 AM »
Archie, I think you misunderstood my meaning. I thought the OP was mistaken that aptupdate told him to reboot. I just wanted to clarify that aptupdate was separate from regular system updates.  :)

I see. I can't remember whether I had to reboot or not when I run aptupgrade. My bad.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12490
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #9 on: June 30, 2011, 08:19:03 AM »
It might be a good idea to wait for some kind of official announcement with update instructions than seeing the package in the repo and jumping the gun like some have done. There was a preliminary announcement made earlier this month to get the word out.  aptupgrade works on PCLinuxOS proper. I cannot verify on the stripped out community versions since I didn't make them and have no control what they do to their base. Thanks very much for the information though.
« Last Edit: June 30, 2011, 08:23:42 AM by Texstar »

Thanks to everyone who donates. You keep the servers running.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10612
  • MLUs Forever!
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #10 on: June 30, 2011, 08:20:29 AM »
Archie, I think you misunderstood my meaning. I thought the OP was mistaken that aptupdate told him to reboot. I just wanted to clarify that aptupdate was separate from regular system updates.  :)

It definitely says to close all apps and reboot.
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #11 on: June 30, 2011, 09:49:24 AM »
and it certainly did so in my community based, stripped down versions LXDE-Mini and Phoenix-Mini .
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2399
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #12 on: June 30, 2011, 10:42:06 AM »
It might be a good idea to wait for some kind of official announcement with update instructions than seeing the package in the repo and jumping the gun like some have done. There was a preliminary announcement made earlier this month to get the word out.  aptupgrade works on PCLinuxOS proper. I cannot verify on the stripped out community versions since I didn't make them and have no control what they do to their base. Thanks very much for the information though.
I am jumping, Texstar! Because I am sure I'll be fine nevertheless the minor issues.
In fact there were no thrilling issues for me till the Xorg-update. No thrill till that point. After that I had the thrill of no X. And it was solved too fast  :'( ;D here.
Should I go with Debian for thrills and nightmares? :o

Joking, joking, not bashing. I am bored of PCLOS :'( ;D

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5324
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #13 on: June 30, 2011, 05:45:20 PM »
Hmmm. I just installed aptupgrade & wasn't instructed to reboot. It said to run the aptupgrade from pc>software center.
I don't think there is any risk of a user being mistaken that he is fully updated. As I understand aptupdate updates apt, as a relude to upgrading th package manager. Updates continue as usual.


The last window displayed when running APTupgrade from the PC menu --> Software Center does indeed tell you to reboot your system.  I just done two different systems today and both indeed displayed that message.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Vorteggs

  • Hero Member
  • *****
  • Posts: 2399
Re: aptupgrade says finished ok, but hasn't replaced anything
« Reply #14 on: July 01, 2011, 01:21:49 AM »
Hmmm. I just installed aptupgrade & wasn't instructed to reboot. It said to run the aptupgrade from pc>software center.
I don't think there is any risk of a user being mistaken that he is fully updated. As I understand aptupdate updates apt, as a relude to upgrading th package manager. Updates continue as usual.


The last window displayed when running APTupgrade from the PC menu --> Software Center does indeed tell you to reboot your system.  I just done two different systems today and both indeed displayed that message.

After installing aptupgrade Synaptic instructed me to run it and reboot.