Author Topic: problem update after install  (Read 7492 times)

Offline pep369

  • Jr. Member
  • **
  • Posts: 11
problem update after install
« on: March 12, 2012, 06:54:23 AM »
Hi from Barcelona, after install I'm trying to update the system but can't. This is the message from Synaptic:

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

I've been searching for solutions (like fix broken packages or delete cache package files) but it has been worse and finally I've had to reinstall because I couldn't enter in graphical mode and don't knew what to do.

Anyone could help me? Thanks and sorry my english...  :-[


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: problem update after install
« Reply #1 on: March 12, 2012, 07:12:01 AM »
Open a terminal and enter these commands:     
su     (give root password at the prompt)     
apt-get update     
apt-get --fix-broken install     (if this returns the generated break message, use the next command)     
apt-get --fix-broken remove     
finally ---     
apt-get dist-upgrade     


Offline pep369

  • Jr. Member
  • **
  • Posts: 11
Re: problem update after install
« Reply #2 on: March 12, 2012, 07:17:22 AM »
Hi Neal ManBear, terminal says at the end (after apt-get upgrade)


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

thanks

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: problem update after install
« Reply #3 on: March 12, 2012, 07:31:04 AM »
Hi Neal ManBear, terminal says at the end (after apt-get upgrade)


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

thanks
     
Absolutely nowhere in my reply did I say to use apt-get upgrade. That command will not work in PCLinuxOS.     

Was there any terminal feedback to apt-get --fix-broken install? Or to apt-get --fix-broken remove? If so, what was it? Feedback from a command that you were not advised to use is of no help.     

Offline pep369

  • Jr. Member
  • **
  • Posts: 11
Re: problem update after install
« Reply #4 on: March 12, 2012, 07:41:39 AM »
Sorry, I might have said "apt-get dist-upgrade"; this is the copy-paste of terminal sequence:

[pep@localhost ~]$ su
Password:
[root@localhost pep]# apt-get update
Get:1 http://ftp.nluug.nl pclinuxos/2010 release [2883B]
Fetched 2883B in 0s (12.2kB/s)
Hit http://ftp.nluug.nl pclinuxos/2010/main pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/main release
Hit http://ftp.nluug.nl pclinuxos/2010/updates pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/updates release
Hit http://ftp.nluug.nl pclinuxos/2010/nonfree pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/nonfree release
Hit http://ftp.nluug.nl pclinuxos/2010/kde4 pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/kde4 release
Hit http://ftp.nluug.nl pclinuxos/2010/games pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/games release
Hit http://ftp.nluug.nl pclinuxos/2010/xfce4 pkglist
Hit http://ftp.nluug.nl pclinuxos/2010/xfce4 release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@localhost pep]# apt-get --fix-broken install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 removed and 41 not upgraded.
[root@localhost pep]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Failed
The following packages have unmet dependencies:
  gtk-doc: Depends: dblatex
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
[root@localhost pep]# apt-get --fix-broken remove
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 removed and 41 not upgraded.
[root@localhost pep]# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Failed
The following packages have unmet dependencies:
  gtk-doc: Depends: dblatex
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
[root@localhost pep]#


Thanks a lot! 

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: problem update after install
« Reply #5 on: March 12, 2012, 07:49:34 AM »
apt-get install dblatex     
feedback?     

Offline pep369

  • Jr. Member
  • **
  • Posts: 11
Re: problem update after install
« Reply #6 on: March 12, 2012, 07:53:34 AM »
apt-get install dblatex     
feedback?     



[pep@localhost ~]$ su
Password:
[root@localhost pep]# apt-get install dblatex
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 removed and 41 not upgraded.
Need to get 876kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ftp.nluug.nl pclinuxos/2010/main dblatex 0.2.9-1pclos2010 [876kB]
Fetched 876kB in 0s (892kB/s)   
Committing changes...
Preparing                                ############################## [100%]
Updating / installing
  dblatex-0.2.9-1pclos2010.noarch        ############################## [100%]
^C

Offline pep369

  • Jr. Member
  • **
  • Posts: 11
Re: problem update after install
« Reply #7 on: March 12, 2012, 07:56:07 AM »
Now I'm reloading and updating via synaptic and it seems work...wainting....


Offline pep369

  • Jr. Member
  • **
  • Posts: 11
Re: problem update after install
« Reply #8 on: March 12, 2012, 08:03:13 AM »
oh, the problem is still there:

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

Thanks another time, now I'm going to the job and later I will continue trying to find a solution.





Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: problem update after install
« Reply #9 on: March 12, 2012, 08:35:32 AM »
apt-get install gtk-doc     
feedback?     

if fail ---     
apt-get remove gtk-doc     
feedback?     

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 332
  • Yes,good looking ;)
Re: problem update after install
« Reply #10 on: March 12, 2012, 08:37:35 AM »
Hi I'm also having this issue in one of my pclos xfce 4.8 machines without having changed anything.  ???

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 332
  • Yes,good looking ;)
Re: problem update after install
« Reply #11 on: March 12, 2012, 08:49:54 AM »
Sorry for hijacking but I have the exact same issue:

# apt-get install gtk-doc
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 removed and 45 not upgraded.
Need to get 455kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.nluug.nl pclinuxos/2010/main gtk-doc 1.18-1pclos2011 [455kB]
Fetched 455kB in 1s (436kB/s)   
Committing changes...
Preparing                                ############################## [100%]
Updating / installing
  gtk-doc-1.18-1pclos2011.noarch         ############################## [100%]
Done.

Still not working via synaptic

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 332
  • Yes,good looking ;)
Re: problem update after install
« Reply #12 on: March 12, 2012, 08:53:48 AM »
[root@localhost ~]# apt-get remove gtk-doc
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
   gtk-doc (1.18-1pclos2011)
   libxfce4ui-devel (4.8.1-1pclos2012)
   libxfce4util-devel (4.8.2-1pclos2011)
   orage (4.8.2-1pclos2012)
   thunar (1.3.0-1pclos2012)
   thunar-thumbnailers (0.4.2-2pclos2012)
   thunar-thumbnailers-ffmpeg (0.4.2-2pclos2012)
   thunar-thumbnailers-raw (0.4.2-1pclos2011)
   thunar-vfs (1.2.0-2pclos2011)
   thunar-volman (0.6.0-1pclos2012)
   xfburn (0.4.3-4pclos2012)
   xfce4-battery-plugin (1.0.1-3pclos2012)
   xfce4-clipman-plugin (1.2.2-1pclos2012)
   xfce4-config (4.8.1-1pclos2011)
   xfce4-cpugraph-plugin (1.0.1-3pclos2012)
   xfce4-datetime-plugin (0.6.1-5pclos2012)
   xfce4-dict (0.6.0-1pclos2012)
   xfce4-diskperf-plugin (2.3.0-2pclos2012)
   xfce4-eyes-plugin (4.4.1-2pclos2011)
   xfce4-fsguard-plugin (1.0.0-3pclos2012)
   xfce4-icon-theme (4.4.3-5pclos2012)
   xfce4-mixer (4.8.0-1pclos2012)
   xfce4-modemlights-plugin (0.1.3.99-4pclos2012)
   xfce4-mount-plugin (0.5.6-4pclos2012)
   xfce4-notes-plugin (1.7.7-1pclos2012)
   xfce4-panel (4.9.0-1pclos2012)
   xfce4-panel-devel (4.9.0-1pclos2012)
   xfce4-quicklauncher-plugin (1.9.4-5pclos2012)
   xfce4-screenshooter (1.8.0-1pclos2012)
   xfce4-session (4.8.2-1pclos2012)
   xfce4-session-devel (4.8.2-1pclos2012)
   xfce4-smartbookmark-plugin (0.4.4-1pclos2012)
   xfce4-systemload-plugin (1.0.0-3pclos2012)
   xfce4-time-out-plugin (1.0.0-3pclos2012)
   xfce4-timer-plugin (0.6.2-1pclos2012)
   xfce4-verve-plugin (1.0.0-3pclos2012)
   xfce4-wavelan-plugin (0.5.6-4pclos2012)
   xfce4-weather-plugin (0.7.4-2Sproggy2011)
   xfce4-wmdock-plugin (0.3.4-1pclos2012)
   xfce4-xfapplet-plugin (0.1.0-4pclos2012)
   xfswitch-plugin (0.0.1-5pclos2012)
0 upgraded, 0 newly installed, 41 removed and 45 not upgraded.
Need to get 0B of archives.
After unpacking 41.3MB disk space will be freed.
Do you want to continue? [Y/n] y
Committing changes...
Preparing                                ############################## [100%]
Cleaning up / removing
  xfce4-config-4.8.1-1pclos2011.i586     ############################## [100%]
  xfce4-session-4.8.2-1pclos2012.i586    ############################## [100%]
  xfce4-session-devel-4.8.2-1pclos2012.i ############################## [100%]
  xfce4-cpugraph-plugin-1.0.1-3pclos2012 ############################## [100%]
  xfce4-screenshooter-1.8.0-1pclos2012.i ############################## [100%]
  xfce4-datetime-plugin-0.6.1-5pclos2012 ############################## [100%]
  xfce4-battery-plugin-1.0.1-3pclos2012. ############################## [100%]
  xfce4-clipman-plugin-1.2.2-1pclos2012. ############################## [100%]
  xfce4-dict-0.6.0-1pclos2012.i586       ############################## [100%]
  xfce4-diskperf-plugin-2.3.0-2pclos2012 ############################## [100%]
  xfce4-eyes-plugin-4.4.1-2pclos2011.i58 ############################## [100%]
  xfce4-fsguard-plugin-1.0.0-3pclos2012. ############################## [100%]
  xfce4-mixer-4.8.0-1pclos2012.i586      ############################## [100%]
  xfce4-modemlights-plugin-0.1.3.99-4pcl ############################## [100%]
  xfce4-mount-plugin-0.5.6-4pclos2012.i5 ############################## [100%]
  xfce4-notes-plugin-1.7.7-1pclos2012.i5 ############################## [100%]
find: `/home/neal/src/rpm/BUILDROOT/xfce4-notes-plugin-1.7.7-1pclos2012.i386': No such file or directory
find: `/home/neal/src/rpm/BUILDROOT/xfce4-notes-plugin-1.7.7-1pclos2012.i386': No such file or directory
warning: %postun(xfce4-notes-plugin-1.7.7-1pclos2012.i586) scriptlet failed, exit status 1
  xfce4-quicklauncher-plugin-1.9.4-5pclo ############################## [100%]
  xfce4-smartbookmark-plugin-0.4.4-1pclo ############################## [100%]
  xfce4-systemload-plugin-1.0.0-3pclos20 ############################## [100%]
  xfce4-time-out-plugin-1.0.0-3pclos2012 ############################## [100%]
  xfce4-timer-plugin-0.6.2-1pclos2012.i5 ############################## [100%]
  xfce4-verve-plugin-1.0.0-3pclos2012.i5 ############################## [100%]
  xfce4-wavelan-plugin-0.5.6-4pclos2012. ############################## [100%]
  xfce4-wmdock-plugin-0.3.4-1pclos2012.i ############################## [100%]
find: `/home/neal/src/rpm/BUILDROOT/xfce4-wmdock-plugin-0.3.4-1pclos2012.i386': No such file or directory
find: `/home/neal/src/rpm/BUILDROOT/xfce4-wmdock-plugin-0.3.4-1pclos2012.i386': No such file or directory
warning: %postun(xfce4-wmdock-plugin-0.3.4-1pclos2012.i586) scriptlet failed, exit status 1
  xfce4-xfapplet-plugin-0.1.0-4pclos2012 ############################## [100%]
  xfce4-weather-plugin-0.7.4-2Sproggy201 ############################## [100%]
  libxfce4ui-devel-4.8.1-1pclos2012.i586 ############################## [100%]
  xfswitch-plugin-0.0.1-5pclos2012.i586  ############################## [100%]
  orage-4.8.2-1pclos2012.i586            ############################## [100%]
  thunar-thumbnailers-ffmpeg-0.4.2-2pclo ############################## [100%]
  thunar-thumbnailers-raw-0.4.2-1pclos20 ############################## [100%]
  thunar-thumbnailers-0.4.2-2pclos2012.i ############################## [100%]
  xfburn-0.4.3-4pclos2012.i586           ############################## [100%]
  thunar-vfs-1.2.0-2pclos2011.i586       ############################## [100%]
  thunar-volman-0.6.0-1pclos2012.i586    ############################## [100%]
  thunar-1.3.0-1pclos2012.i586           ############################## [100%]
  xfce4-icon-theme-4.4.3-5pclos2012.noar ############################## [100%]
  xfce4-panel-4.9.0-1pclos2012.i586      ############################## [100%]
  xfce4-panel-devel-4.9.0-1pclos2012.i58 ############################## [100%]
  libxfce4util-devel-4.8.2-1pclos2011.i5 ############################## [100%]
  gtk-doc-1.18-1pclos2011.noarch         ############################## [100%]
Done.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: problem update after install
« Reply #13 on: March 12, 2012, 09:05:31 AM »
Nippur,     
In one post you report a successful install of gtk-doc. In the next you are trying to remove it. ??? Why? ???     
Reread my posts. I said if the install fails, try the remove. ::)     

Did you run apt-get install dblatex first?     

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 332
  • Yes,good looking ;)
Re: problem update after install
« Reply #14 on: March 12, 2012, 09:24:06 AM »
Nippur,     
In one post you report a successful install of gtk-doc. In the next you are trying to remove it. ??? Why? ???     
Reread my posts. I said if the install fails, try the remove. ::)     

Did you run apt-get install dblatex first?     

Hi.  Yes I did, followed step by step instructions.

I ran install gtk-doc and then tried to update via synaptic and got the same error as always, so I understood  I should run

the last command to remove gtk-doc.

After this I have been able to fully update without errors via synaptic.  ;)

I now have robooted and cannot login with my user nor as root. What can I do?
Thx Neal