Author Topic: Update keeps failing [Solved, thanks]  (Read 867 times)

Offline bluegroper

  • Full Member
  • ***
  • Posts: 205
Update keeps failing [Solved, thanks]
« on: February 02, 2010, 11:58:39 PM »
I usually use synaptic, however sometimes resort to apt-get so that I can see whats broken.

apt-get update
apt-get upgrade
apt-get dist-upgrade

but fails with this message.

Get:1 http://mirror.internode.on.net pclinuxos/2007/main libgdk_pixbuf2.0_0-devel 2.18.5-2pclos2010 [283kB]
Fetched 283kB in 0s (707kB/s)
        libpq.so.4 is needed by (installed) pgadmin3-1.4.3-1pclos2007.i586
E: Transaction set check failed

How to fix ??
TIA's
« Last Edit: February 05, 2010, 06:39:20 PM by bluegroper »

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3992
Re: Update keeps failing
« Reply #1 on: February 03, 2010, 04:12:47 AM »
The first thing I would try is go into Synaptic and upgrade just pgadmin3 on its own, then upgrade all.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline bluegroper

  • Full Member
  • ***
  • Posts: 205
Re: Update keeps failing
« Reply #2 on: February 03, 2010, 06:39:20 PM »
The first thing I would try is go into Synaptic and upgrade just pgadmin3 on its own, then upgrade all.

Just upgrade pgAdmin3 gives

APT system reports:
Transaction set check failed

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3992
Re: Update keeps failing
« Reply #3 on: February 04, 2010, 05:55:49 AM »
In that case you might need to try the brute force technique.

First go to http://mirror.internode.on.net and find your way to pclinuxos/2007/main in its public mirror space. Then download the current version of pgadmin3 to make sure you have it. Make a note of the path to the file.

Then open a console and su to root. Type "rpm -e --nodeps pgadmin3 && apt-get install <path to file>/pgadmin3"[tab] [Enter]. If the path is xcorrect it should autocomplete when you press [tab].

If apt-get still complains you can try installing with "rpm -ivh <path to file>/pgadmin3"[tab] [Enter], but that might fail due to dependencies.

Whatever happens I would then try "apt-get update && apt-get dist-upgrade" again and if that complains of broken packages, "apt-get --fix-broken dist-upgrade".

If the problem persists, it's getting difficult!
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline bluegroper

  • Full Member
  • ***
  • Posts: 205
Re: Update keeps failing [Solved, thanks]
« Reply #4 on: February 05, 2010, 06:38:11 PM »
In that case you might need to try the brute force technique.
Fixed everythings up very well.

First go to http://mirror.internode.on.net and find your way to pclinuxos/2007/main in its public mirror space. Then download the current version of pgadmin3 to make sure you have it. Make a note of the path to the file.

Then open a console and su to root. Type "rpm -e --nodeps pgadmin3 && apt-get install <path to file>/pgadmin3"[tab] [Enter]. If the path is xcorrect it should autocomplete when you press [tab].

Nuke the old version, then reinstall correctly
# rpm -e --nodeps pgadmin3
# wget http://mirror.internode.on.net/pub/pclinuxos/apt/pclinuxos/2010/RPMS.main/pgadmin3-1.10.0-1pclos2010.i586.rpm
# apt-get install ./pgadmin3[tab]

If apt-get still complains you can try installing with "rpm -ivh <path to file>/pgadmin3"[tab] [Enter], but that might fail due to dependencies.

Whatever happens I would then try "apt-get update && apt-get dist-upgrade" again and if that complains of broken packages, "apt-get --fix-broken dist-upgrade".
No complaints, followed by
# apt-get update
# apt-get dist-upgrade
and there's lotsa packages that were successfully updated.

If the problem persists, it's getting difficult!
If pain persists, see your doctor.  But it works for me !

Very many thx's.