| Author |
Message |
etorix
|
|
|
Post subject: 29 Sept 2010::python-apt error :: fixed
Posted: 29.09.2010, 00:24
|
|
Team Member

Joined: 2010-08-26
Posts: 127
Status: Offline
|
|
|
Code:
subprocess installed post-installation script returned error exit status 1
so
go find /var/lib/dpkg/info/python-apt.postinst
add 'exit 0' under 'set -e' [at the top, after #!/bin/sh]
Code:
apt-get -f install
UPDATE: fixed pkgs now in fix.main
Code:
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement python-apt ...
Selecting previously deselected package python-apt-common.
Unpacking python-apt-common (from .../python-apt-common_0.7.98.1_all.deb) ...
Setting up python-apt-common (0.7.98.1) ...
Setting up python-apt (0.7.98.1) ...
|
Last edited by etorix on 30.09.2010, 17:14; edited 3 times in total
|
| |
|
|
|
 |
HeSaid
|
|
Post subject: RE: 29 Sept 2010::python-apt errors out
Posted: 29.09.2010, 02:28
|
|
Moderator

Joined: 2010-09-11
Posts: 56
Location: southwest Florida, USA
Status: Offline
|
|
Thanks, etorix.
--
Neal |
_________________ Registered Linux User # 159445
aptosid 64-bit Lenovo Thinkpad Edge
aptosid 64-bit HP dv6000 laptop
aptosid 32-bit eeePC 900A
|
| |
|
|
|
 |
ibgb
|
|
Post subject: RE: 29 Sept 2010::python-apt errors out
Posted: 29.09.2010, 03:57
|
|
Joined: 2010-09-11
Posts: 42
Status: Offline
|
|
OK, here's a question....
I understand editing the postinst script because it's broken and it's the only way to get apt up and able again. But should then the package be downgraded to testing so that the package will be installed with a postinst that actually runs? |
|
|
| |
|
|
|
 |
etorix
|
|
Post subject: RE: 29 Sept 2010::python-apt errors out
Posted: 29.09.2010, 04:26
|
|
Team Member

Joined: 2010-08-26
Posts: 127
Status: Offline
|
|
if python-apt works ok [and it apparently seems to]
why bother further? |
|
|
| |
|
|
|
 |
devil
|
|
Post subject: RE: 29 Sept 2010::python-apt errors out
Posted: 29.09.2010, 06:30
|
|

Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
|
|
well, it probably is not configured right because postinst didnt run at all,
which probably also has influence on prerm and postrm
so editing these files for me is really a last resort.
greetz
devil |
|
|
| |
|
|
|
 |
drb
|
|
Post subject: RE: 29 Sept 2010::python-apt errors out
Posted: 29.09.2010, 08:51
|
|

Joined: 2010-09-11
Posts: 94
Status: Offline
|
|
| . . . . so holding python-apt is the right 'solution'? |
|
|
| |
|
|
|
 |
devil
|
|
Post subject: RE: 29 Sept 2010::python-apt errors out
Posted: 29.09.2010, 09:41
|
|

Joined: 2010-08-26
Posts: 491
Location: Berlin
Status: Offline
|
|
i would hold it, yes
greetz
devil |
|
|
| |
|
|
|
 |
goofythekiller
|
|
Post subject:
Posted: 29.09.2010, 17:14
|
|

Joined: 2010-09-12
Posts: 10
Status: Offline
|
|
| Thanks for this fix. It was getting a bit frustrating using apt-get and getting error messages about python-get. I hope this bug gets fixed in the next upgrade. |
|
|
| |
|
|
|
 |
hjt
|
|
Post subject:
Posted: 29.09.2010, 18:50
|
|

Joined: 2010-09-11
Posts: 2
Status: Offline
|
|
|
|
|
 |
DonKult
|
|
Post subject:
Posted: 29.09.2010, 19:22
|
|
Team Member

Joined: 2010-09-02
Posts: 420
Status: Offline
|
|
|
goofythekiller wrote:
Thanks for this fix. It was getting a bit frustrating using apt-get and getting error messages about python-get. I hope this bug gets fixed in the next upgrade.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598432 for all the glory details.
Michael said he will upoad a fixed version soon…
This fixed upload will NOT fix broken installations. You have to apply the fix noted above by etorix if your APT is stuck. So yes, holding the currently working version until the fixed one hits the mirrors is the preferred option. |
_________________ MfG. DonKult
"I never make stupid mistakes. Only very, very clever ones." ~ The Doctor
|
| |
|
|
|
 |
etorix
|
|
Post subject:
Posted: 29.09.2010, 19:29
|
|
Team Member

Joined: 2010-08-26
Posts: 127
Status: Offline
|
|
holding python-apt is the 'correct' solution
that said, python-apt seems to work normally, actually, i see no other errors |
|
|
| |
|
|
|
 |
goofythekiller
|
|
Post subject:
Posted: 30.09.2010, 02:49
|
|

Joined: 2010-09-12
Posts: 10
Status: Offline
|
|
|
DonKult wrote:
goofythekiller wrote:
Thanks for this fix. It was getting a bit frustrating using apt-get and getting error messages about python-get. I hope this bug gets fixed in the next upgrade.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598432 for all the glory details.
Michael said he will upoad a fixed version soon…
This fixed upload will NOT fix broken installations. You have to apply the fix noted above by etorix if your APT is stuck. So yes, holding the currently working version until the fixed one hits the mirrors is the preferred option.
Cool. I believe the fix is already out. This is what I get after doing "apt-show-versions -u"
Code:
python-apt/sid upgradeable from 0.7.98 to 0.7.98.1
|
|
|
| |
|
|
|
 |
shao
|
|
Post subject:
Posted: 30.09.2010, 12:16
|
|

Joined: 2010-09-23
Posts: 1
Location: China
Status: Offline
|
|
|
|
|
 |
mylo
|
|
Post subject:
Posted: 30.09.2010, 18:41
|
|

Joined: 2010-09-11
Posts: 116
Location: Wiesbaden, Germany
Status: Offline
|
|
|
shao wrote:
Well done, it's great!
yes, I had the error messages also on d-u
[url="d-u mess1"]pastebin.ca/1951126[/url]
[url="d-u mess2"]pastebin.ca/1951146[/url]
I came over it by a normal d-u after today. I was told that an old script did not work, but the new one did it.
For your info.
Code:
apt-cache policy python-apt
python-apt:
Installiert: 0.7.98.1
Kandidat: 0.7.98.1
EDIT:
sorry do not know, how to handle these url tags. |
_________________ Regards
mylo
Linux 3.1-6.slh.1-aptosid-amd64 x86_64[2010-03 Ἀπάτη (201012262151)]
Intel Core2 Duo E6550 @ Cache/Ram 4MB/4GB nVidia G72 7300 nouveau 2*250GB
|
| |
|
|
|
 |
BelaLugosi
|
|
Post subject:
Posted: 30.09.2010, 18:51
|
|

Joined: 2010-09-11
Posts: 49
Location: Dresden / Germoney
Status: Offline
|
|
|
mylo wrote:
EDIT:
sorry do not know, how to handle these url tags.
...without the quotes
Code:
[url=foo.bar]yourtexthere[/url]
|
_________________ i don't have hard drives. i just keep 30 chinese teenagers in my basement and force them to memorize numbers (bash.org)
|
| |
|
|
|
 |
|
|