LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 10-20-2009, 08:42 AM   #1
k.king
Member
 
Registered: Oct 2005
Posts: 51

Rep: Reputation: 15
PCLOS lost synaptic, config computer, openoffice, and others during update ?


PCLOS 2009.1 ran update thru synaptic gui this morning via reload and mark updates and apply.
But when it finished something (very to me) unexpected happened.
I lost Synaptic, Configure Computer, Open Office, and a load of DVD related applications.
I tried running cli
apt-get update
it fetches info but basically says nothing to apply

I tried
apt-get install

Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 removed and 4 not upgraded.


then I tried
apt-get upgrade

Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
gtk+2.0 libgdk_pixbuf2.0_0 libgdk_pixbuf2.0_0-devel libgtk+-x11-2.0_0
0 upgraded, 0 newly installed, 0 removed and 4 not upgraded.

I did try manually
apt-get install synaptic

but as soon as I run it via GUI and reload mark updates the only thing it says it will do is remove synaptic

I just tried pointing at some different repo's was getting same on a few
but on
distro.ibiblio.org/pub/linux/distributions/texstar/pclinuxos/apt/
it looks like it pulled down the "kept back" packages.

GetOpenOffice still fails though, and not sure how to get back "configure computer"

any suggestions ?
 
Old 10-21-2009, 11:02 PM   #2
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 299

Rep: Reputation: 115Reputation: 115
Almost the same thing happened to me last night when trying to update PCLinuxOS 2009.2, except I didn't lose Open Office.
I got 'Configure Computer' back with
apt-get install drakconf

But when 'Configure Computer' was started in a terminal with the command 'drakconf' it complained that some of its components were "not executable".
So I had to 'apt-get install' the following missing packages too
printerdrake
drakmenustyle
draksnapshot
drakvirt
drakguard
 
Old 10-23-2009, 12:27 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,287

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
PCLinuxOS 2009 is inconsistent for the moment, and has
been so for some weeks.
In fact it has turned into a "new OS" with the change of
glibc from version 2.4 to version 2.10.1 .

Like many times before, it is a good idea only to upgrade
the few things required for security reasons.
And wait some months until it is consistent again.

Suggest : Have an extra copy installed on a spare partition
or a spare computer, to test the packages, you think should
be updated.
.....
 
Old 10-23-2009, 04:48 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,287

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
I made a new install this morning , PCLinuxOS 2009.2,
to test a new old Pentium 4 computer.
And upgraded glibc from 2.4 to 2.10.1

Now I made a sequential "upgrade" of 'synaptic'
to find out, if it is possible to loose it :
ldd /usr/bin/synaptic
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
libc.so.6 => /lib/i686/libc.so.6
/lib/ld-linux.so.2
... Not at all complicated, so ...
1) # apt-get install synaptic
2) Test synaptic → OK
3) # apt-get install libglib2
4) Test synaptic → OK
5) # apt-get install binutils
6) Test synaptic → OK
... which shows that at least the used mirror is up to date.
> > http://spout.ussg.indiana.edu pclinuxos/2007/main
... please add this to the top of your /etc/apt/sources.list :
Code:
rpm http://spout.ussg.indiana.edu/linux/pclinuxos/pclinuxos/apt/ pclinuxos/2007 main extra nonfree kde gnome
.....
And good luck !
.....
.....
EDIT : Some applications / libraries can still only be installed
if you remove other quite common and necessary applications
/ libraries.
.....
Attached Files
File Type: txt upgrade--synaptic+deps.txt (3.1 KB, 3 views)

Last edited by knudfl; 10-23-2009 at 07:11 AM.
 
Old 10-23-2009, 07:49 AM   #5
k.king
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
I managed to restore my "configure computer" by using synaptic to install "drakconf"
Only seem to have "GetOpenOffice" and no "OpenOffice" in synaptic.
trying to run GetOpenOffice (once installed) fails suggesting possible internet failure.


Would some separation in repositaries be possible ?
Have one for experimental bleeding edge types with spare pc's
and
make as default a "stable" one with necessary security updates and "safe" feature updates ?


maybe somehow have a completely separate methodology for advising new release/version is available would you like to upgrade now ?
and
if the above option is taken maybe (provided space is available) build some sort of fallback option on boot to previous version ?
 
Old 10-23-2009, 09:05 PM   #6
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 299

Rep: Reputation: 115Reputation: 115
On my PCLinuxOS2009.2 'GetOpenOffice' is a bash script:
/usr/bin/getopenoffice

It tests the internet connection by trying to download the Google search page with:
wget http://www.google.com/index.html

If this fails the script gives the message:
"No Internet connection found.

Exiting..."

Try checking if 'wget' is installed and working by entering into a terminal:
wget http://www.google.com/index.html -O /dev/null

Last edited by Kenhelm; 10-23-2009 at 09:13 PM.
 
Old 10-24-2009, 06:42 AM   #7
k.king
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
<<
Try checking if 'wget' is installed and working by entering into a terminal:
wget http://www.google.com/index.html -O /dev/null
>>
That seems to work okay

looking at the script the only other things I noticed was

if [ -r /usr/bin/zenity ]; then

there is a zenity in /usr/bin but tbh I do not understand what the -r means.

If I got a 2009.2 iso and ran install should that "upgrade" and reset things ok ?
 
Old 10-24-2009, 09:50 PM   #8
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 299

Rep: Reputation: 115Reputation: 115
if [ -r /usr/bin/zenity ]; then ......
tests if the file exists and is readable.

In synaptic -> File -> History -> October 2009 -> 21/10/09
there's a list of the removed packages, in my case there were about 130 including synaptic, Firefox, harddrake, ImageMagick, Xdialog, gimp, kdeaddons, kmplayer, update-notifier, xsane and many libraries
I reinstalled every package on the list which could be installed and now my system seems to be back to normal.

In synaptic -> Settings -> Repositories
I found that the last mirror on my repository list is for Open Office.
ftp://ftp.nl.freebsd.org/pub/os/Linux/distr/texstar/openoffice/apt/
(You have to move the horizontal scroll bar to the right to see 'openoffice' in the 'Section(s)' column)
I enabled it, then used the 'Reload' button, and the Open Office packages became available in synaptic.
There's a different package for each locale e.g.
task-openoffice3-en-GB
task-openoffice3-en-US

The information section for them says
"Open Office 3.1 Meta Package
This package will install everything you need for Open Office 3.1"

But as I didn't lose Open Office I haven't tried going any further with this method.
 
Old 10-25-2009, 10:34 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,287

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
.. Some more comments ..
PCLinuxOS 2009.2 isn't much different, 1124 packages are 'pclos2007..'
and 351 are 'pclos2009..' No pclos2010 packages, like in the repo's.
( In 2009.0 : all 1416 ~ are '..2007..')

The package selection is different, 2009.2 has no 'OpenOffice'.

About the repo's : Things are more consistent today than 2 days ago.

I still see no reason for updating everything, but if you want
to try , it will probably work best on a clean install.
.....

Last edited by knudfl; 10-25-2009 at 12:16 PM.
 
Old 10-25-2009, 10:37 AM   #10
k.king
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
yes my history showed it removed 136 packages, upgraded 9, and installed 16
will have to find time to go thru the list.

ftp://ftp.nl.freebsd.org/pub/os/Linu...penoffice/apt/
did not appear in my list, so I tried to add,
I guessed distrib was pclinuxos/2007 same as all the others
and put only openoffice in the sections field.
on reloading it complained it could not connect/fetch it...
 
Old 10-25-2009, 02:17 PM   #11
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 299

Rep: Reputation: 115Reputation: 115
I automated the installation of my 130 removed packages with a script.
Code:
#!/bin/bash
packages=/home/USER/packagelist
logfile=/home/USER/apt-get.log
apt-get --simulate install $(cat $packages) | tee -a $logfile
I pasted the list of removed packages from the synaptic history into a text file '$packages' with one package per line.
Then used 'su -' to become root in a terminal and kept running the apt-get simulation.
Three packages which gave the message "E: Couldn't find package" had to be removed from the list.
One package needed to be given a later version number.
Once the simulation worked without error, removing '--simulate' installed the packages.
The apt-get output to the terminal window is also appended to the log file.
 
Old 10-26-2009, 06:52 AM   #12
k.king
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
Kenhelm
thanks for the script and instructions, that worked pretty well in the main.

the only package that I know of that I want and can not get back is pdftk
if I try to install it complains

pdftk:
Depends: libgcj.so.7 but it is not installable

I've tried uninstalling libgcj and reinstalling libgcj 7 by itself or as dependency for pdftk but always hit same error.

another oddity is
libusb
bash: libusb: command not found

tho synaptic reports it as installed and I've run scanadf (I think using libusb?)


knudfl
when you say "it will probably work best on a clean install."
do you mean getting a 2009.2 iso and running over the top of existing
(incidently I tried to find yesterday but could only find a page linke to youtube clips?)
or
wiping drive and starting all again
or
is there some reporsitary I need to add to synaptic to upgrade ?

if I run synaptic currently it tells me no updates.


How are you supposed to get openoffice in 2009.2 ?
I've downloaded install from openoffice.org and run script, it installs and I can launch if I navigate to the /opt/ folder it installed into. But there is no menu items and some warnings. I did a quick google and stock answer is do not install from the oo .org but use the package from your distib. As you pointed out there is no oo in 2009.? and the getopenoffice fails on mine claiming no internet.
 
Old 10-27-2009, 03:44 AM   #13
Kenhelm
Member
 
Registered: Mar 2008
Location: N. W. England
Distribution: Mandriva
Posts: 299

Rep: Reputation: 115Reputation: 115
Other PCLinuxOS users have been having similar problems with pdftk.
http://www.pclinuxos.com/forum/index...6447#msg516447

Last edited by Kenhelm; 10-27-2009 at 04:15 AM.
 
Old 10-27-2009, 11:12 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,287

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
Well, as said before, the repo's are not as inconsistent
today as four days ago.

So you may avoid a clean install : which is installing
into your current partition ( everything disappers )
.. or to a spare partition. ( I have 44 partitions.)

Are you sure, you really upgraded / updated ? ?
Example, glibc : My synaptic says ...
" Installed version 2.4 .. Latest version 2.10.1 "
( See photo )
If yours is different it's time to hit the 'Reload'
button .. or do # 'apt-get update' .

OpenOfficeOrg : see photo .. and only 'iptables-devel'
is removed, if I ask for upgrading of ' glibc '.
.....
.....
libusb is not a command, is a shared library.
Commands are mainly in these path's : echo $PATH
And please do : 'rpm -ql libusb0.1_4' to see all files.
.....
.....
'pdftk' : You will just have to wait, I guess.
Something is wrong with pdftk-1.41-2pclos2007.src.rpm,
used for building the package. And the dependencies may
trash 'rpm' and 'synaptic' install functions + the X-server :
.. I had to reinstall 2009.1 ( 2009.0 ? ).
2009.2 : Installer problems.
.. First time in seven years, I have trashed an OS.
.. And no luck with a reinstall of the suspect = libgcc1
from a rescue OS.

'pdftk' : I will let you know, when there is a solution.
.....
Attached Images
File Type: jpg screen4323.jpg (20.2 KB, 2 views)
File Type: jpg screen14279.jpg (25.7 KB, 2 views)

Last edited by knudfl; 10-27-2009 at 11:17 AM.
 
Old 10-29-2009, 03:59 AM   #15
k.king
Member
 
Registered: Oct 2005
Posts: 51

Original Poster
Rep: Reputation: 15
knudfl
<<
Are you sure, you really upgraded / updated ? ?
Example, glibc : My synaptic says ...
" Installed version 2.4 .. Latest version 2.10.1 "
>>
Mine already says 2.10.1


<<
If yours is different it's time to hit the 'Reload'
button .. or do # 'apt-get update' .
>>
Since I had the issue (started this thread) whenever I clicked "Reload" and "Mark All Upgrades" I was never see anything... till today there are a load but I am going to hold off applying these until I have spare time (if I then need) to recover.


<<
OpenOfficeOrg
>>
I only had/have OpenOffice entries for clipart and templates, so I downloaded the v3.2dev tgz and am running that for moment.
What has surprised me is installing from the OO installer I do appear to have a raft of "ooo-dev3-...." entries showing in synaptic as installed.

<<
libusb is not a command, is a shared library.
Commands are mainly in these path's : echo $PATH
And please do : 'rpm -ql libusb0.1_4' to see all files.
>>
oops, brain fade, the command I wanted was lsusb, which is still fine.
I had libusb on my mind because of reading up on re-compiling wine to make use of.

<<
'pdftk' : You will just have to wait, I guess.
>>
guess so.
 
  


Reply

Tags
pclos


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PCLOS 2007 & FC9: can't copy files from FC9 box to home PCLOS 2k7 via ssh aaliyah Linux - Newbie 3 06-17-2009 01:12 PM
PCLOS 2007 & FC9: can't copyy files from FC9 box to home PCLOS 2k7 via ssh aaliyah Linux - Newbie 3 06-16-2009 12:34 AM
Updated PCLOS 2007 - lost 1440X900 resolution wastingtime Linux - Software 1 05-06-2008 09:35 PM
PCLOS can't mount loop filesystem; computer also behaves erratically newbiesforever Linux - General 1 11-13-2007 07:20 AM
can i install wine or Cedega on pclos with out useing synaptic? ironman771 Linux - Software 2 09-29-2007 01:37 PM


All times are GMT -5. The time now is 06:33 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration