Author Topic: pkgProblemResolver  (Read 2890 times)

asc

  • Guest
pkgProblemResolver
« on: December 31, 2009, 03:16:59 AM »
Open Synaptic
Press Reload  To get current file list
Click Mark All Upgrades
CLick Apply

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Ikke i stand til at rette afhængigheder

can not update

have tried

get clen etz

noting ?

what happens here


asc

  • Guest
Re: pkgProblemResolver
« Reply #1 on: January 01, 2010, 07:14:22 AM »
So all upgrade is finished for me. I must just hope that texstar
doing a PCLinuxOS 2010 with KDE 4 ..
otherwise I will keep the old. But it does indeed finely

E: Error, pkgProblemResolver::
Resolve generated breaks,
this may be caused by held packages.

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: pkgProblemResolver
« Reply #2 on: January 01, 2010, 07:22:07 AM »
Try another repository. The one you're using was probably being updated.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

asc

  • Guest
Re: pkgProblemResolver
« Reply #3 on: January 01, 2010, 07:36:27 AM »
Thanks friend, I used the old method away from dos prompt
notification apt-get and it worked


asc

  • Guest
Re: pkgProblemResolver
« Reply #4 on: January 06, 2010, 09:32:37 AM »
E: Error, pkgProblemResolver:: Resolve generated breaks, this may be caused by luck packages.

The error occurs in this / these two files:

libpq8.4_5
The shared libraries required for any
PostgreSQL clients

and in this

libpqxx
The official C + + client API for PostgreSQL

Saw them I went into synaptic and chose to opt out under
Corrupted files ..
Bad idea!

After rebooting no PCLinuxOS .... Now I began to sweat
and thought of how stupid it is not putting it into a
windows so I had said something that seemed ... fy ..

After the initial fear and terror had subsided
I had written drakconf
but there was not much to go after
but I could then see the users I had to
pclose they had since gone.
Reboot!
got into a root koncol just by typing root
and password .. what now?
Yes, I chose a
apt-get update
and then an apt-get upgrade ...

Bingo it was driving again when the leave the files as
I had ignored ..
But the problem is still there?
What am I doing wrong?

Online muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: pkgProblemResolver
« Reply #5 on: January 06, 2010, 10:40:17 AM »

the recommended way to update is using synaptic or "apt-get update" followed by "apt-get dist-upgrade". You used "apt-get upgrade" and that is not the correct way.

i repeat, if you want to update from the terminal, the right way is to use:

apt-get update
apt-get dist-upgrade

try that and report if you still get errors.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Tuxfriend

  • Hero Member
  • *****
  • Posts: 1256
Re: pkgProblemResolver
« Reply #6 on: January 06, 2010, 10:59:05 AM »
I wouldn't do a dist-upgrade as of now because there are a few apps that don't start after upgrading. What's more, my Update Notifier shows this message:

"An error occured verifying upgrade; this may be caused by held packages. Do NOT update! Check Synaptic or try again later."

So, it might be a good idea being cautious now.  ;)
Best regards

Eddie

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6380
  • I'm going South
Re: pkgProblemResolver
« Reply #7 on: January 06, 2010, 04:35:21 PM »
I wouldn't do a dist-upgrade as of now because there are a few apps that don't start after upgrading.

Both apt-get upgrade and apt-get dist-upgrade will try to upgrade your entire system, but apt-get upgrade will only upgrade installed packages, without checking for changed dependencies. apt-get dist-upgrade does handle changing dependencies and will remove obsolete packages when their functionality has been replaced by entirely different packages that apt-get upgrade simply wouldn't install.

Consequently apt-get dist-upgrade is usually the safer alternative. apt-get upgrade will sooner or later break your system.

You should listen to muungwana.
« Last Edit: January 06, 2010, 04:39:05 PM by blackbird »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

asc

  • Guest
Re: pkgProblemResolver
« Reply #8 on: January 07, 2010, 03:25:55 AM »
I'm confused. I'm waiting for texstar  ???

asc

  • Guest
Re: pkgProblemResolver
« Reply #9 on: January 07, 2010, 09:18:12 AM »
apt-get dist-upgrade

Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Failed
The following packages have unmet dependencies:
  libpq8.4_5: Obsoletes: libpq4 (= 8.1.11)
  libpqxx: Obsoletes: libpqxx2
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused b    y held packages.

Online muungwana

  • Hero Member
  • *****
  • Posts: 6237
Re: pkgProblemResolver
« Reply #10 on: January 07, 2010, 09:47:30 AM »

you have already used a wrong command and dependency chains may have been formed in ways they cant be untangled. You could be better off just reinstalling and pay attention to not use wrong commands when installing/updating from the terminal.

If you want to continue, try to delete those packages and see if you can continue with the update and then try to add them back later on.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2842
    • other projects...
Re: pkgProblemResolver
« Reply #11 on: January 07, 2010, 10:01:59 AM »
hi asc,

as mentioned by muungwana you should be very careful what you do from a root terminal as any wrong command can bring you into serious troubles. Before reinstalling you could try the following: first go in Synaptic and ensure to have only one (1) repository active and it should not be the belnet repo. In Synaptic verify to have dupeclean or dupeclean-gui installed, if you can not install it then skip the dupeclean steps mentioned below. Then close Synaptic, and I mean close not minimize so in Synaptic goto File -> Exit. Next, open a root terminal (PCmenu -> System -> Terminals -> Terminal - Super User Mode) and enter the following commands one after the other so you see what is going on:

Code: [Select]
apt-get clean
rpmdb --rebuilddb
dupeclean
apt-get update
apt-get dist-upgrade --fix-broken
dupeclean

Note that the second command will take some time to complete, maybe even a couple of minutes. If all works out fine, do a final reboot and you should be ok. Otherwise tell us the output of the commands above so we can get an idea where your problem originates from and how to solve it.
regards,
-p.

asc

  • Guest
Re: pkgProblemResolver
« Reply #12 on: January 08, 2010, 07:11:28 AM »
No. Unfortunately it is the same  :(

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2842
    • other projects...
Re: pkgProblemResolver
« Reply #13 on: January 08, 2010, 07:43:33 AM »
No. Unfortunately it is the same  :(


Hi asc,
the answer "No. Unfortunately it is the same" is not very helpful. If you do not provide detailed answers to the proposed individual steps or commands then no one can help you because no one will be in the position to understand the reasons of your issue.

Please follow the steps below exactly in the sequence they are listed. If you get an error message for any of these steps then do not proceed to the next step but post the last step and its error message here:

Step 1:
restart your computer, login into your user account and open a root konsole: PCmenu -> System -> Terminals -> Terminal - Super User Mode
you will be asked for your root password, provide it and you should then see a red root prompt in the konsole, you should get something looking like this:
Code: [Select]
[root@localhost ~]#just in red color.

Step 2:
copy/paste the entire set of the following commands in this terminal and press the enter key:
a) if you use KDE4:
Code: [Select]
/bin/mv /etc/apt/sources.list /etc/apt/sources.list_old
echo "rpm http://gnustep.ethz.ch/mirror/pclinuxos/apt/ pclinuxos/2007 main extra nonfree kde4" > /etc/apt/sources.list
apt-get update |tee /tmp/step1.log
b) if you any other window manager but not KDE4:
Code: [Select]
/bin/mv /etc/apt/sources.list /etc/apt/sources.list_old
echo "rpm http://gnustep.ethz.ch/mirror/pclinuxos/apt/ pclinuxos/2007 main extra nonfree kde" > /etc/apt/sources.list
apt-get update |tee /tmp/step1.log

Step 3:
copy/paste the following command in this terminal and press the enter key:
Code: [Select]
apt-get install dupecleanPlease let me know if this command succeeded or if you got any error messages here.

Step 4:
copy/paste the following command in this terminal and press the enter key:
Code: [Select]
apt-get dist-upgrade --fix-broken |tee /tmp/step4.logPlease let me know if this command succeeded or if you got any error messages here.

Step 5:
copy/paste the following command in this terminal and press the enter key:
Code: [Select]
dupecleanPlease let me know if this command succeeded or if you got any error messages here.

Step 6:
only if all previous 5 steps were successful then copy/paste the following command in this terminal and press the enter key:
Code: [Select]
bin/mv -f /etc/apt/sources.list_old /etc/apt/sources.list
regards,
-pinoc

asc

  • Guest
Re: pkgProblemResolver
« Reply #14 on: January 08, 2010, 08:17:34 AM »
Step 1

apt-get update |tee /tmp/step1.log
Get:1 http://gnustep.ethz.ch pclinuxos/2007 release [2653B]
Fetched 2653B in 0s (11,6kB/s)
Get:1 http://gnustep.ethz.ch pclinuxos/2007/main pkglist [1467kB]
Get:2 http://gnustep.ethz.ch pclinuxos/2007/main release [160B]
Get:3 http://gnustep.ethz.ch pclinuxos/2007/extra pkglist [1579kB]
Get:4 http://gnustep.ethz.ch pclinuxos/2007/extra release [161B]
Get:5 http://gnustep.ethz.ch pclinuxos/2007/nonfree pkglist [56,7kB]
Get:6 http://gnustep.ethz.ch pclinuxos/2007/nonfree release [161B]
Get:7 http://gnustep.ethz.ch pclinuxos/2007/kde pkglist [161kB]
Get:8 http://gnustep.ethz.ch pclinuxos/2007/kde release [157B]
Fetched 3265kB in 7s (413kB/s)
Reading Package Lists...
Building Dependency Tree...


Step 2
Done.

Step 4
apt-get dist-upgrade --fix-broken |tee /tmp/step4.log
Reading Package Lists...
Building Dependency Tree...
The following packages have unmet dependencies:
  libpq8.4_5: Obsoletes: libpq4 (= 8.1.11)
  libpqxx: Obsoletes: libpqxx2
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.


step 5

dupeclean
No duplicate/multiple versions of rpms found.