maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   broken apt-get (https://talk.maemo.org/showthread.php?t=91425)

bennypr0fane 2013-09-21 06:52

broken apt-get
 
hello,
I can't install anything, I keep getting the same error about some expired keys, and I don't know what thiis means:
http://pastie.org/8342269
help, please?
thanks, Ben

sixwheeledbeast 2013-09-21 08:12

Re: broken apt-get
 
It's a "W" Warning only that has been covered a few times here.
It's due to expired keys, all should still work fine unless you have other issues.

http://talk.maemo.org/showpost.php?p...31&postcount=4

bennypr0fane 2013-09-21 13:07

Re: broken apt-get
 
then it's something else preventing me from installing/removing things:
http://pastie.org/8343974
something about the anki pkg (btw ankiqt is working om my system, ankimaemi is not.
how can I fix this?

sixwheeledbeast 2013-09-21 16:13

Re: broken apt-get
 
remove ankimaemi?

bennypr0fane 2013-09-21 18:39

Re: broken apt-get
 
ok, now this:
http://pastie.org/8344621
so do I need to remove these other packages, too?
can you tell me what the error msgs mean (also for ankimaemi)?

bennypr0fane 2013-09-21 18:53

Re: broken apt-get
 
oops, what's this?
http://pastie.org/8344675
this results from apt-get upgrade

michaaa62 2013-09-21 21:34

Re: broken apt-get
 
Quote:

Setting up swappolube-nogui (0.1.2) ...
cp: cannot stat '/tmp/tuning': No such file or directory
dpkg: error processing swappolube-nogui (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
swappolube-nogui
E: Sub-process /usr/bin/dpkg returned an error code (1)
Looks like you have to remove that package also, or for installing it, you have to create /tmp/tuning manually.

rfa 2013-09-21 21:38

Re: broken apt-get
 
Thi looks very similar to the problems I'm having here.

I've got the HAM errors in that tread too

pichlo 2013-09-22 07:47

Re: broken apt-get
 
@rfa, that's a bit like saying, "I have the same problem, my car is also broken," when one problem is no oil and the other one is flat tyres.

@benny, your problem is this line:
"3 not fully installed or removed."
In other words, you have a corrupt installation of certain package(s) that the remove script cold not properly remove due to some missing files.
I suggest heeding michaaa62's advice. Create (temporarily) /tmp/tuning (run touch /tmp/tuning) and try again.

You can get a full list of all partially installed packages by running dpkg -l | grep ^pi.

sixwheeledbeast 2013-09-22 08:14

Re: broken apt-get
 
I'd remove the packages causing the issue and reinstall them, myself.

pichlo 2013-09-22 08:34

Re: broken apt-get
 
Quote:

Originally Posted by sixwheeledbeast (Post 1375991)
I'd remove the packages causing the issue and reinstall them, myself.

Yes but sometimes remove fails, leaving behind partially installed packages.
Which is why one needs to read the apt-get output.

sixwheeledbeast 2013-09-22 08:43

Re: broken apt-get
 
Quote:

Originally Posted by pichlo (Post 1375996)
Yes but sometimes remove fails, leaving behind partially installed packages.
Which is why one needs to read the apt-get output.

Code:

apt-get remove --purge foopackage
I generally use HAM but if I use apt-get to remove something I use the above.

Hopefully the package should be clever enough to clean or reincorporate any existing installation or I would say it's flawed.


All times are GMT. The time now is 21:59.

vBulletin® Version 3.8.8