Page 1 of 2
Errors while performing update
Posted: Wed Apr 20, 2011 12:45 pm
by elvis1
Hi guys. I have this error while trying to update.
Any clue on what I should do to solve this?
It mentions some dpkg errors ( I did google a ton).
Appreciate
Re: Errors while performing update
Posted: Wed Apr 20, 2011 1:19 pm
by viking777
Try
Code: Select all
sudo dpkg --clear-avail && sudo apt-get update
Re: Errors while performing update
Posted: Wed Apr 20, 2011 1:36 pm
by elvis1
many thanks.
Ill try in a few mins and will report back
Re: Errors while performing update
Posted: Wed Apr 20, 2011 1:44 pm
by elvis1
Code: Select all
sudo dpkg --clear-avail && sudo apt-g
[sudo] password for elvis1:
sudo: apt-g: command not found
elvis1@elvis1-desktop ~ $ sudo dpkg --clear-avail && sudo apt-get update
Get:1 http://dl.google.com stable Release.gpg [189B]
Ign http://dl.google.com/linux/deb/ stable/non-free Translation-en_US
Get:2 http://linux.dropbox.com lucid Release.gpg [489B]
Ign http://linux.dropbox.com/ubuntu/ lucid/main Translation-en_US
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/breathe-dev/ppa/ubuntu/ lucid/main Translation-en_US
Get:3 http://ppa.launchpad.net lucid Release.gpg [316B]
;;;;
t http://ar.archive.ubuntu.com lucid-backports/restricted Sources
Hit http://ar.archive.ubuntu.com lucid-backports/universe Sources
Hit http://ar.archive.ubuntu.com lucid-backports/multiverse Sources
Fetched 1,675kB in 21s (76.8kB/s)
W: Failed to fetch http://ppa.launchpad.net/sparkers/ppa/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/sparkers/ppa/ubuntu/dists/lucid/main/source/Sources.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
Seems Like I must have some repo issues. right?
Thx
Re: Errors while performing update
Posted: Wed Apr 20, 2011 2:19 pm
by viking777
Seems Like I must have some repo issues. right?
Absolutely. Just unset the ppa's in synaptic or mintupdate then do the update (which I think will complete) then change the ppa addresses to either maverick or natty whichever you prefer because there is no lucid folder at that address.
Re: Errors while performing update
Posted: Wed Apr 20, 2011 2:27 pm
by elvis1
Many many thanks
I was so close this time
E: /var/cache/apt/archives/apt_0.7.25.3ubuntu9.4_i386.deb: unable to create updated files list file for package apt
Appreciate
Re: Errors while performing update
Posted: Wed Apr 20, 2011 2:43 pm
by elvis1
for some reason my manager and the sources.list are not the same , could that be possible ?
Re: Errors while performing update
Posted: Wed Apr 20, 2011 2:57 pm
by viking777
For most of the errors in there it is telling you what to do, so why not just do it?
Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 45FFBBBA
For the errors in 'sparkers' you just do what I said in the last post - there is no lucid folder at that address - change it.
Is it possible to get different sources in software manager and sources.list?
I wouldn't have thought so but if you have managed it congratualtions
(Sorry, I don't know what to do about that, the software manager reads sources.list so it requires real skill to get them to read differently).
I don't know how you have got into this mess, maybe someone else does, I am shutting down now anyway, I will be back up in about 14 hours. Hope you fix it before then but if you don't I will read the thread again tomorrow but I am sure someone will come up with something more sensible before then
Good luck with it anyway.
Re: Errors while performing update
Posted: Wed Apr 20, 2011 3:24 pm
by AlbertP
viking777: you can add sources to files in the folder /etc/apt/sources.list.d/. They are used, but they aren't in sources.list.
Re: Errors while performing update
Posted: Wed Apr 20, 2011 5:33 pm
by elvis1
is there a way to solve this? is there somewhere a repo list of standard applications so I can use that one and in some way not have the apps Ive already installed to be affected?
Re: Errors while performing update
Posted: Thu Apr 21, 2011 6:05 am
by viking777
@ AlbetP - you are right I forgot about that folder.
@elvis1 - It is still not clear to me if you have used either of the previous fixes I suggested re the sparkers ppa and adding the missing keyservers or my original suggestion of disabling the sparkers ppa for the time being. But here are some other things you could try, although I really don't know which of these might work (or if any of them will).
1)
Try to update again.
2) Package manager Edit/Fix Broken Packages - really does the same as #1 but if #1 didn't work try this instead.
3) Try Aptitude instead of apt-get it is more powerful than the others
Code: Select all
sudo su
aptitude update
aptitude keep-all
aptitude full-upgrade
Re: Errors while performing update
Posted: Thu Apr 21, 2011 5:49 pm
by elvis1
I ve not tried the ppa fix as Ive not understood how to do it. I will try this one out and let you know.
Many thanks in advance
PS : I was considering to format
Re: Errors while performing update
Posted: Fri Apr 22, 2011 4:59 am
by viking777
I ve not tried the ppa fix as Ive not understood how to do it.
You should have asked earlier. It is very simple you just edit /etc/apt/sources.list (or sources.list.d whichever one it is in)to remove the word 'lucid' and replace it with 'maverick' (or natty if you prefer).
Alternatively you can do it from the package manager - Settings/Repositories/Other Software highlight the 'sparkers' entry and click 'edit'. Carry out the same change.
Re: Errors while performing update
Posted: Wed Apr 27, 2011 1:15 pm
by elvis1
viking, thanks man. It was my fault I know.
is the following ok?
appreciate
Re: Errors while performing update
Posted: Wed Apr 27, 2011 2:15 pm
by viking777
I am sorry man, but you have completely misunderstood my post (which probably means I haven't explained it well enough). My comment about changing to 'maverick' related SOLELY to the 'sparkers' repo, nothing else, you seem to have changed everything you can see to maverick - this was not what I meant and not what you want.
However since your first post it seems you have disabled 'sparkers' anyway (the entries have a # symbol in front of them) so if you wish to keep 'sparkers' disabled then you don't have to change anything to maverick at all, it should work as it is. However if you wish to enable 'sparkers' then you have to change its address to maverick but leave everything else as it was (ie with the lucid address).
Re: Errors while performing update
Posted: Wed Apr 27, 2011 3:31 pm
by elvis1
Its me the one to blame viking, thanks for your patience.
English is not my native
I did not change everything to maverick, just wanted to know if I should ( I understand that I can make this just to sparkers and that to make it effective I should remove the # ) change everything from lucid to maverick ( which I now know that I should not)
Re: Errors while performing update
Posted: Wed Apr 27, 2011 4:16 pm
by elvis1
sudo apt-get install uml-utilities bridge-utils
[sudo] password for elvis1:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package uml-utilities is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package uml-utilities has no installation candidate
appreciate
Re: Errors while performing update
Posted: Thu Apr 28, 2011 5:29 am
by viking777
It just means that the package you are looking for does not exist in the place you are looking for it. However you can get it from here:
http://packages.debian.org/wheezy/uml-utilities
The list at the bottom of the page gives a choice of different architectures, just choose whichever one you are using. When you have downloaded it (don't close the page down btw you might need it later) you can install it by double clicking the package if you have gdebi installed otherwise you would need to do
In a terminal (where xxxxx is the name of the file you have downloaded).
If it complains about missing dependencies you can go back to the page you kept open and you will see all the dependencies listed there so you can grab those as well.
Actually an even smarter way to do this is to download the package and then using a root file manager copy it to /var/cache/apt/archives - you will then be able to install it with the package manager (synaptic) which will automatically take care of any dependencies for you.
Re: Errors while performing update
Posted: Thu Apr 28, 2011 1:01 pm
by elvis1
elvis1@elvis1-desktop /tmp $ sudo dpkg -i uml-utilities_20070815-1.1_i386.deb
this is part of the output ( long list) . I bet Ive fubared the OS
http://pastebin.com/6mktifwx
Appreciate your help guys ( and specially viking).
http://i.imgur.com/OjwFs.png
http://i.imgur.com/RkjnD.png
when I tried to install the dependencies from the uml utilities, more and more popped out.
thx
Re: Errors while performing update
Posted: Thu Apr 28, 2011 1:58 pm
by viking777
elvis1 - if you really have that many files missing from your installation then I find it difficult to believe that you can even boot it
But you obviously can cause you posted the screenshots, and it looks like Mint to me.
I don't know what to say I can't believe the output in that post, and according to the debian page your package only has 8 dependencies.
I notice you have downloaded the i386 package to install - are you sure you have a 32bit Mint version, should you be using the 64bit package instead?
If you are unsure type
Into a terminal and you should see
i686 GNU/Linux
In the output if you are 32bit and something like x86-64 if you are 64 bit (not sure exactly cause I don't use 64 bit myself).
If you are on 64 bit you need the 64 bit package from the debian page I linked to earlier.