Author Topic: SOLVED:Aptupgrade questions  (Read 1329 times)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
SOLVED:Aptupgrade questions
« on: June 28, 2011, 07:24:42 PM »
After installing from the current Bonsai test iso and fully updating, aptupgrade didn't install correctly due to missing libraries. I'm wanting to run aptupgrade on a fully updated Bonsai 2010.11 installation. Since I can only run it once, I want to get it right the first time. I think I've located and installed all the missing libraries and shared objects, but have questions about the rpm ones. The part I'm asking about is highlighted below.

error: Failed dependencies:
   librpm1 = 4.8.1-4pclos2011 is needed by rpm-4.8.1-4pclos2011.i586
   librpmbuild.so.1 is needed by rpm-4.8.1-4pclos2011.i586
   librpmio.so.1 is needed by rpm-4.8.1-4pclos2011.i586
   librpm.so.1 is needed by rpm-4.8.1-4pclos2011.i586

Here are the ones currently installed:

/usr/lib/librpm-4.4.so
/usr/lib/librpmbuild-4.4.so
/usr/lib/librpmio-4.4.so

Installed apt version is 0.5.15lorg3.94a, and installed rpm version is 4.4.6.

What I'm concerned about are the missing so.1 objects. Are these dynamically created when aptupgrade runs, or do I need to create softlinks before running aptupgrade?

« Last Edit: June 29, 2011, 01:28:25 PM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Aptupgrade questions
« Reply #1 on: June 29, 2011, 01:28:05 PM »
Solved.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15279
  • ┌∩┐(◕_◕)┌∩┐
Re: Aptupgrade questions
« Reply #2 on: June 29, 2011, 02:14:54 PM »
Solved.


What was the actual answer dj ?
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: SOLVED:Aptupgrade questions
« Reply #3 on: June 30, 2011, 12:38:39 AM »
I had to backtrack through the logs to see what I had done. While testing the current Bonsai Openbox, I had run aptupgrade. But, it failed due to missing dependencies. Part of the terminal output was:

error: Failed dependencies:
   liblua.so.5.1 is needed by librpm1-4.8.1-4pclos2011.i586
   libnss3.so is needed by librpm1-4.8.1-4pclos2011.i586
   libnssutil3.so is needed by librpm1-4.8.1-4pclos2011.i586
   libsmime3.so is needed by librpm1-4.8.1-4pclos2011.i586
   libsoftokn3.so is needed by librpm1-4.8.1-4pclos2011.i586
   libssl3.so is needed by librpm1-4.8.1-4pclos2011.i586
error: Failed dependencies:
   librpm1 = 4.8.1-4pclos2011 is needed by rpm-4.8.1-4pclos2011.i586
   liblua.so.5.1 is needed by rpm-4.8.1-4pclos2011.i586
   libnss3.so is needed by rpm-4.8.1-4pclos2011.i586
   libnssutil3.so is needed by rpm-4.8.1-4pclos2011.i586
   librpmbuild.so.1 is needed by rpm-4.8.1-4pclos2011.i586
   librpmio.so.1 is needed by rpm-4.8.1-4pclos2011.i586
   librpm.so.1 is needed by rpm-4.8.1-4pclos2011.i586
   libsmime3.so is needed by rpm-4.8.1-4pclos2011.i586
   libsoftokn3.so is needed by rpm-4.8.1-4pclos2011.i586
   libssl3.so is needed by rpm-4.8.1-4pclos2011.i586


I have Bonsai 2010.11 installed on my PIII, and want to keep it fully updated. So, I installed the following packages.

liblua5.1
libnss3 (libnssutil3 installed as dependency)
nss (libsmime3 & libssl3 installed as dependencies)
python-rpmbuild (installs libsoftokn3 as dependency)
rpm-build (librpmbuild & librpmio installed as dependencies)
m4 (because HootieGibbon said it would be needed)

The final result was:

[darrel@My_PIII ~]$ aptupgrade &
[1] 3242
[darrel@My_PIII ~]$ 0
Preparing...                ########################################### [100%]
   1:librpm1                ########################################### [100%]
Preparing...                ########################################### [100%]
   1:perl-List-MoreUtils    ########################################### [100%]
   2:perl-File-Slurp        ########################################### [100%]
Preparing...                ########################################### [100%]
   1:rpm-pclinuxos-setup    ########################################### [100%]
   2:rpm                    warning: /etc/rpm/macros created as /etc/rpm/macros.rpmnew
########################################### [100%]
   3:rpm-pclinuxos-setup-bui########################################### [100%]
   4:rpm-build              ########################################### [100%]
Preparing...                ########################################### [100%]
   1:apt-common             warning: /etc/apt/sources.list created as /etc/apt/sources.list.rpmnew
########################################### [100%]
   2:libapt-pkg0            ########################################### [100%]
   3:apt                    ########################################### [100%]
/var/lib/rpm/filetriggers/ldconfig.script: line 2: ldconfig: command not found
Preparing...                ########################################### [100%]
   1:synaptic               ########################################### [100%]
Preparing...                ########################################### [100%]
   1:python-rpm             ########################################### [100%]
^C
[1]+  Done                    aptupgrade
[darrel@My_PIII ~]$


I then verified the apt version.

[darrel@My_PIII ~]$ apt-get --version
apt 0.5.15lorg3.95 for linux i386 compiled on Jun 10 2011 19:24:14
Supported Modules:
*Ver: Standard .rpm
*Pkg:  rpm interface (Priority 20)
 S.L: 'rpm' Standard RPM binary tree
 S.L: 'rpm-src' Standard RPM source tree
 S.L: 'rpm-dir' Local RPM directory tree
 S.L: 'rpm-src-dir' Local SRPM directory tree
 S.L: 'repomd' RepoMD tree
 S.L: 'repomd-src' RepoMD src tree
 Idx: RPM Source Index
 Idx: RPM Package Index
 Idx: RPM Database
[darrel@My_PIII ~]$

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15279
  • ┌∩┐(◕_◕)┌∩┐
Re: SOLVED:Aptupgrade questions
« Reply #4 on: June 30, 2011, 03:19:02 PM »
Thanks for such detailed feedback dj - much appreciated.
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000