thanks a lot.
I certainly won't be needing any server use for debian.
I executed your last code.it was very similar to yours.
the problem is bypassed and NOT SOLVED.
but thank u all for helping me.
VIVA linux
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
problem ragarding apt-get upgrade
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: problem ragarding apt-get upgrade
fireExit wrote:this is a nuclear solution and you should only apply it if you really don't need that package:Code: Select all
cd /var/lib/dpkg/info
Code: Select all
rm ldap-account-manager.*
basically what you are doing is removing the package's files manually.Code: Select all
dpkg --remove --force-remove-reinstreq ldap-account-manager
after this, dist-upgrade should complete without error.
Thank fireExit for telling nice commands to remove the broken packagetr64 wrote:Thanks a lot. the error is gone for good.
Congratulations on tr64's success
Have you executed
Code: Select all
apt-get update
apt-get -s autoremove
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
Re: problem ragarding apt-get upgrade
Once again,Thank you all.
root@zx:/home/qwerty# apt-get -s autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@zx:/home/qwerty#
apparently nothing can be removed
root@zx:/home/qwerty# apt-get -s autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@zx:/home/qwerty#
apparently nothing can be removed
-
- Posts: 33
- Joined: 2015-03-10 10:00
Re: problem ragarding apt-get upgrade
I guess, you have solved the problem by now somehow, in which case I post it just for posterity and out of gratitude to a.thomas, because the issue was giving me a lot of headache and headscratching,
and also in case someone comes up with ideas how to fully fix the issue. I found this post:
https://ubuntuforums.org/archive/index. ... 81086.html
and thanks to the author I managed at least to get rid of ldap-acoount-manager and be able to run regular upgrade.
admittedly, unlike in the original solution, I failed to reinstall ldap-account-manager because once reinstalled, it was already "in a mess" and in "half-installed" status.
ps.
I run debian 8 jessie oldstable on asus X102BA - if this can be helpful for further analysing why reinstallation failed.
ps 2
err.. I've just realised that my posts don't add up too much, and are helpful only to the point of removing lam. I got slightly lost in the multitude of threads abt the issue at hand, and beside the solution herein didn't quite work for me, and this in turn is probably because I might have messed up sth in the procedure or sequence of commands etc. my apologies. I dont remove my posts myself, after all they describe a bit different approach, however feel free to delete them if you find it necessary.
and also in case someone comes up with ideas how to fully fix the issue. I found this post:
https://ubuntuforums.org/archive/index. ... 81086.html
and thanks to the author I managed at least to get rid of ldap-acoount-manager and be able to run regular upgrade.
admittedly, unlike in the original solution, I failed to reinstall ldap-account-manager because once reinstalled, it was already "in a mess" and in "half-installed" status.
ps.
I run debian 8 jessie oldstable on asus X102BA - if this can be helpful for further analysing why reinstallation failed.
ps 2
err.. I've just realised that my posts don't add up too much, and are helpful only to the point of removing lam. I got slightly lost in the multitude of threads abt the issue at hand, and beside the solution herein didn't quite work for me, and this in turn is probably because I might have messed up sth in the procedure or sequence of commands etc. my apologies. I dont remove my posts myself, after all they describe a bit different approach, however feel free to delete them if you find it necessary.
Last edited by serandrzej on 2018-04-07 17:17, edited 2 times in total.
-
- Posts: 33
- Joined: 2015-03-10 10:00
Re: problem ragarding apt-get upgrade
I feel obliged to make a small update and quote original post, just in case someone might complain about "link-only" answers:
https://ubuntuforums.org/archive/index. ... 81086.html
as said, it work for me, after that I was able to remove, but not install, the problematic package (ldap-account-manager in my case)
and I ran these commands:Well, after extension searching and finding things I already tried, I went to where the phpmyadmin.prerm, phpmyadmin.postrm, etc scripts where and deleted them manually.
cd /var/lib/dpkg/info/
ls -l phpmyadmin.*
-rw-r--r-- 1 root root 165 2008-03-05 21:42 phpmyadmin.conffiles
-rwxr-xr-x 1 root root 287 2008-03-05 21:42 phpmyadmin.config
-rw-r--r-- 1 root root 33524 2008-08-06 11:31 phpmyadmin.list
-rw-r--r-- 1 root root 51996 2008-03-05 21:42 phpmyadmin.md5sums
-rwxr-xr-x 1 root root 3286 2008-03-05 21:42 phpmyadmin.postinst
-rwxr-xr-x 1 root root 1762 2008-03-05 21:42 phpmyadmin.postrm
-rwxr-xr-x 1 root root 1762 2008-08-06 09:12 phpmyadmin.postrm.orig
-rwxr-xr-x 1 root root 339 2008-03-05 21:42 phpmyadmin.preinst
-rw-r--r-- 1 root root 22441 2008-03-05 21:42 phpmyadmin.templates
then I deleted those files
sudo rm -r phpmyadmin.*
then I ran
sudo apt-get clean
sudo apt-get update
I wanted to see if the package was still around, so I ran
sudo apt-get remove phpmyadmin
I got the response that the package was not installed so it couldn't not be removed.
FINALLY!
So from there I just ran
sudo apt-get install phpmyadmin
and source again:#cd /var/lib/dpkg/info/
#ls -l ldap*
#sudo rm -r ldap*
#ls -l ldap*
#sudo apt-get clean
sudo apt-get update
#sudo apt-get remove -f ldap-account-manager
https://ubuntuforums.org/archive/index. ... 81086.html
as said, it work for me, after that I was able to remove, but not install, the problematic package (ldap-account-manager in my case)