Re: Apt-get hangup (SOLVED)

2012-12-12 Thread Bob Proulx
Gary Roach wrote:
 The restore problem is a long story. Lets just say that what i've
 got is all I'm going to get.

Ouch.  Sorry to hear.  But good to hear that things have moved forward
for you.

 Things have changed since I started this thread. I found a really
 good missive at:
 
 http://www.mepis.org/docs/en/index.php?title=Repairing_apt-get_database

Interesting.  I almost agree with some of that. :-)

 that got me through the problem. The only package that couldn't be
 fixed was openoffice.org-filter-binfilter. This package is not
 essential. I purged this one and now have a clean system.

And of course you can always re-install anything you want too.

It seems to me that you must have tried to backup restore the system
part of your system.  I am not opposing that in principal but in
practice I don't usually try to do it that way.  For next time let me
suggest an alternative way to recover.

Instead I try to make sure I backup all of the locally created data
(such as /home and /usr/local) and all of the local configuration
(such as /etc and /var/backups) and then when I restore I actually
install a new image from scratch.  Then onto the new image I restore
the data (/home) and then move to the more difficult part of restoring
the system installed components.  I will merge in the accounts from
the old /etc/passwd and group files and then re-install all of the
packages that were installed previously.  Record of those is kept in
/var/backups and I have written about how to get the list of
installed packages from there before.  Install the list.  Restore the
previous configuration from the old /etc.  Restart and eventually
reboot to the restored system.  It isn't trivial but it isn't too
difficult either.  It works.

 I do have a major problem with KDE desktop icons now but that needs
 further investigation an maybe a topic for another thread.

If it is a failed restore issue then what I would try to do is to
determine what package includes those icons, purge that package,
re-install that package.  Or perhaps hit it with a larger club by
purging all of kde, verifying that everything related has been
removed, and then re-installing all of kde.  If something didn't
restore correctly then giving that package a fresh install should make
it good again.

Good luck!

Bob


signature.asc
Description: Digital signature


Re: Apt-get hangup (SOLVED)

2012-12-12 Thread Gary Roach

On 12/12/2012 01:10 AM, Bob Proulx wrote:

Gary Roach wrote:
   

The restore problem is a long story. Lets just say that what i've
got is all I'm going to get.
 

Ouch.  Sorry to hear.  But good to hear that things have moved forward
for you.

   

Things have changed since I started this thread. I found a really
good missive at:

 http://www.mepis.org/docs/en/index.php?title=Repairing_apt-get_database
 

Interesting.  I almost agree with some of that. :-)

   

that got me through the problem. The only package that couldn't be
fixed was openoffice.org-filter-binfilter. This package is not
essential. I purged this one and now have a clean system.
 

And of course you can always re-install anything you want too.

It seems to me that you must have tried to backup restore the system
part of your system.  I am not opposing that in principal but in
practice I don't usually try to do it that way.  For next time let me
suggest an alternative way to recover.

Instead I try to make sure I backup all of the locally created data
(such as /home and /usr/local) and all of the local configuration
(such as /etc and /var/backups) and then when I restore I actually
install a new image from scratch.  Then onto the new image I restore
the data (/home) and then move to the more difficult part of restoring
the system installed components.  I will merge in the accounts from
the old /etc/passwd and group files and then re-install all of the
packages that were installed previously.  Record of those is kept in
/var/backups and I have written about how to get the list of
installed packages from there before.  Install the list.  Restore the
previous configuration from the old /etc.  Restart and eventually
reboot to the restored system.  It isn't trivial but it isn't too
difficult either.  It works.

   

I do have a major problem with KDE desktop icons now but that needs
further investigation an maybe a topic for another thread.
 

If it is a failed restore issue then what I would try to do is to
determine what package includes those icons, purge that package,
re-install that package.  Or perhaps hit it with a larger club by
purging all of kde, verifying that everything related has been
removed, and then re-installing all of kde.  If something didn't
restore correctly then giving that package a fresh install should make
it good again.

Good luck!

Bob
   

Thanks Bob

You just answered my next question. I'm going to give your suggestions a 
lot of thought as soon as I get the last of the bugs out. I did try 
removal  and re installation and it didn't help. I'm not sure that I did 
a good job of stripping out all of the old data though. I' m going to 
try again. Backuppc is a bit picky about sym-links. I think that this is 
at the route of most of my problems. Rsync needs to have a -D switch set 
before it will transmit them properly. Of course I didn't find this out 
until after I got in trouble.


Gary R.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50c8e6ef.2030...@verizon.net



Re: Apt-get hangup (SOLVED)

2012-12-12 Thread Bob Proulx
Gary Roach wrote:

 You just answered my next question. I'm going to give your
 suggestions a lot of thought as soon as I get the last of the bugs
 out. I did try removal and re installation and it didn't help. I'm
 not sure that I did a good job of stripping out all of the old data
 though. I' m going to try again.

I am just going to mention that I like 'dlocate' as a very much faster
way to get 'dpkg -S' information.  It is indexed.  I haven't looked at
KDE in particular but there are often icons under /usr/share such as
under /usr/share/icons and I could envision symlinks too.  You may
need to track those down.  You will usually find these types of things
in the underlying something-base or something-icons or other dependent
packages.  It probably isn't the first package at the top of the
tree.  It is probably in one of the underlying packages down at the
bottom.  Figuring out what package is down at the bottom that you need
can be tedious.  And of course trying to purge it will want to unlayer
everything else depending upon it.

At times I have used dpkg with a --force-depends to remove and purge a
package and then install it again immediately afterward.

Rather than say much of this again here let me reference a previous
posting where I described some techniques to use /var/backups to list
what was installed and what is installed and to compare the two.

  http://lists.debian.org/debian-user/2011/09/msg00437.html

Hopefully it will be useful information.

 Backuppc is a bit picky about sym-links. I think that this is at the
 route of most of my problems.

I do like BackupPC quite a bit though.

 Rsync needs to have a -D switch set before it will transmit them
 properly. Of course I didn't find this out until after I got in
 trouble.

An rsync -D option?  I am unfamiliar with it.  Please say more.  I
will hopefully learn something.

Bob


signature.asc
Description: Digital signature


Re: Apt-get hangup (SOLVED)

2012-12-11 Thread Gary Roach

On 12/06/2012 11:03 PM, Bob Proulx wrote:

Gary Roach wrote:
   

I just had to do a major restore on one of my systems
and am having trouble with updates.
 

What happened?  And what did you do when you say you did a major
restore?

   

Setting up openoffice.org-core (1:3.2.1-11+squeeze8) ...
/usr/lib/ure/bin/javaldx: error while loading shared libraries:
libstlport_gcc.so.4.6: cannot open shared object file: No such file
or directory
/usr/lib/ure/bin/regcomp.bin: error while loading shared libraries:
libstlport_gcc.so.4.6: cannot open shared object file: No such file
or directory
 

Look at that error message more closely.  It is concerning on a couple
of different levels.  It is trying to open libstlport_gcc.so.4.6 but
it fails.  Start there.  Why isn't that library available?  (But why is
it looking for that library at all?)

   $ ldd -d -r /usr/lib/ure/bin/javaldx
 linux-vdso.so.1 =   (0x7c39f000)
 libuno_sal.so.3 =  /usr/lib/ure/bin/../lib/libuno_sal.so.3 
(0x7f979b384000)
 libjvmfwk.so.3 =  /usr/lib/ure/bin/../lib/libjvmfwk.so.3 
(0x7f979b168000)
 libstdc++.so.6 =  /usr/lib/libstdc++.so.6 (0x7f979ae42000)
   ...

The lines will go on and on for that program.  Do they all resolve?
Any errors?  If so then what are the reasons for those errors?

But why is it looking for libstlport_gcc?  It isn't one of the
libraries used by that program.

   $ ldd -d -r /usr/lib/ure/bin/javaldx | grep libstlport_gcc
   ...nothing...

I can only guess that your restore was not completely successful.

Bob
   

Sorry about the mis-routing of the first message.

The restore problem is a long story. Lets just say that what i've
 got is all I'm going to get.

Things have changed since I started this thread. I found a really good 
missive at:


http://www.mepis.org/docs/en/index.php?title=Repairing_apt-get_database

that got me through the problem. The only package that couldn't be fixed 
was openoffice.org-filter-binfilter. This package is not essential. I 
purged this one and now have a clean system. I do have a major problem 
with KDE desktop icons now but that needs further investigation an maybe 
a topic for another thread.


Thanks for the help

Gary R.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/50c7624e.5080...@verizon.net



Apt-get hangup

2012-12-06 Thread Gary Roach
I just had to do a major restore on one of my systems and am having 
trouble with updates. Openoffice.org seems to be the biggest problem. 
There is a whole bunch of partially configured packages and I can't seem 
to do any of the aptitude, apt-get, dpkg-reconfigure or apt-cache 
functions. A example of the terminal output is pasted below.


   Reading package lists...
   Building dependency tree...
   Reading state information...
   0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
   18 not fully installed or removed.
   After this operation, 0 B of additional disk space will be used.
   Setting up openoffice.org-core (1:3.2.1-11+squeeze8) ...
   /usr/lib/ure/bin/javaldx: error while loading shared libraries:
   libstlport_gcc.so.4.6: cannot open shared object file: No such file
   or directory
   /usr/lib/ure/bin/regcomp.bin: error while loading shared libraries:
   libstlport_gcc.so.4.6: cannot open shared object file: No such file
   or directory
   dpkg: error processing openoffice.org-core (--configure):
 subprocess installed post-installation script returned error exit
   status 127
   dpkg: dependency problems prevent configuration of python-uno:
 python-uno depends on openoffice.org-core (= 1:3.2.1-11+squeeze8);
   however:
  Package openoffice.org-core is not configured yet.
   dpkg: error processing python-uno (--configure):
 dependency problems - leaving unconfigured
   dpkg: dependency problems prevent configuration of
   openoffice.org-emailmerge:
 openoffice.org-emailmerge depends on python-uno; however:
  Package python-uno is not configured yet.
   dpkg: error processing openoffice.org-emailmerge (--configure):
 dependency problems - leaving unconfigured
   Setting up doc-base (0.9.5) ...
   /var/lib/dpkg/info/doc-base.postinst: 45: install-docs: not found
   dpkg: error processing doc-base (--configure):
 subprocess installed post-installation script returned error exit
   status 127
   Setting up menu (2.1.44) ...
   chmod: cannot access `/usr/bin/update-menus': No such file or directory
   dpkg: error processing menu (--configure):
 subprocess installed post-installation script returned error exit
   status 1
   dpkg: dependency problems prevent configuration of
   openoffice.org-base-core:
 openoffice.org-base-core depends on openoffice.org-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-core is not configured yet.
   dpkg: error processing openoffice.org-base-core (--configure):
 dependency problems - leaving unconfigured
   dpkg: dependency problems prevent configuration of
   openoffice.org-writer:
 openoffice.org-writer depends on openoffice.org-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-core is not configured yet.
 openoffice.org-writer depends on openoffice.org-base-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-base-core is not configured yet.
   dpkg: error processing openoffice.org-writer (--configure):
 dependency problems - leaving unconfigured
   dpkg: dependency problems prevent configuration of openoffice.org-calc:
 openoffice.org-calc depends on openoffice.org-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-core is not configured yet.
 openoffice.org-calc depends on openoffice.org-base-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-base-core is not configured yet.
   dpkg: error processing openoffice.org-calc (--configure):
 dependency problems - leaving unconfigured
   dpkg: dependency problems prevent configuration of openoffice.org-draw:
 openoffice.org-draw depends on openoffice.org-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-core is not configured yet.
   dpkg: error processing openoffice.org-draw (--configure):
 dependency problems - leaving unconfigured
   dpkg: dependency problems prevent configuration of
   openoffice.org-impress:
 openoffice.org-impress depends on openoffice.org-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-core is not configured yet.
 openoffice.org-impress depends on openoffice.org-draw (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-draw is not configured yet.
   dpkg: error processing openoffice.org-impress (--configure):
 dependency problems - leaving unconfigured
   dpkg: dependency problems prevent configuration of openoffice.org-math:
 openoffice.org-math depends on openoffice.org-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-core is not configured yet.
   dpkg: error processing openoffice.org-math (--configure):
 dependency problems - leaving unconfigured
   dpkg: dependency problems prevent configuration of openoffice.org-base:
 openoffice.org-base depends on openoffice.org-core (=
   1:3.2.1-11+squeeze8); however:
  Package openoffice.org-core is not configured yet.
 openoffice.org-base depends on 

Re: Apt-get hangup

2012-12-06 Thread Bob Proulx
Gary Roach wrote:
 I just had to do a major restore on one of my systems
 and am having trouble with updates.

What happened?  And what did you do when you say you did a major
restore?

Setting up openoffice.org-core (1:3.2.1-11+squeeze8) ...
/usr/lib/ure/bin/javaldx: error while loading shared libraries:
libstlport_gcc.so.4.6: cannot open shared object file: No such file
or directory
/usr/lib/ure/bin/regcomp.bin: error while loading shared libraries:
libstlport_gcc.so.4.6: cannot open shared object file: No such file
or directory

Look at that error message more closely.  It is concerning on a couple
of different levels.  It is trying to open libstlport_gcc.so.4.6 but
it fails.  Start there.  Why isn't that library available?  (But why is
it looking for that library at all?)

  $ ldd -d -r /usr/lib/ure/bin/javaldx
linux-vdso.so.1 =  (0x7c39f000)
libuno_sal.so.3 = /usr/lib/ure/bin/../lib/libuno_sal.so.3 
(0x7f979b384000)
libjvmfwk.so.3 = /usr/lib/ure/bin/../lib/libjvmfwk.so.3 
(0x7f979b168000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7f979ae42000)
  ...

The lines will go on and on for that program.  Do they all resolve?
Any errors?  If so then what are the reasons for those errors?

But why is it looking for libstlport_gcc?  It isn't one of the
libraries used by that program.

  $ ldd -d -r /usr/lib/ure/bin/javaldx | grep libstlport_gcc
  ...nothing...

I can only guess that your restore was not completely successful.

Bob


signature.asc
Description: Digital signature