Upgrade failure

If none of the more specific forums is the right place to ask

Upgrade failure

Postby kujirasan » 2011-07-16 17:00

Hi there, when I try to upgrade, I always get this message:


" E: /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb: failed in write on buffer copy for backend dpkg-deb during `./lib/modules/2.6.32-5-amd64/kernel/drivers/net/s2io.ko' "
Any idea how to fix it?
kujirasan
 
Posts: 175
Joined: 2009-03-08 23:07

Re: Upgrade failure

Postby ivanovnegro » 2011-07-16 17:21

To what you try to upgrade exactly, to Testing, Squeeze...?

Post your sources list maybe too.
ivanovnegro
 
Posts: 729
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Upgrade failure

Postby kevmitch » 2011-07-16 17:50

Sounds like the file /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb is corrupted. Delete it an a new one will be downloaded.
kevmitch
 
Posts: 498
Joined: 2008-01-29 20:43

Re: Upgrade failure

Postby kujirasan » 2011-07-17 05:56

This the content of sources.list:


#

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/ squeeze contrib main

deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/ squeeze contrib main


deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.de.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

deb http://ftp.de.debian.org/debian/ squeeze-updates main contrib
deb-src http://ftp.de.debian.org/debian/ squeeze-updates main contrib

deb http://backports.debian.org/debian-backports squeeze-backports main

deb http://www.debian-multimedia.org stable main non-free

deb http://ftp.de.debian.org/debian squeeze main non-free

deb http://mozilla.debian.net/ squeeze-backports iceweasel-release


~
~
~
~
~
"sources.list" [readonly] 26 lines, 915 characters






as well I deleted the file mentioned in the above post, but same problem shows up.
kujirasan
 
Posts: 175
Joined: 2009-03-08 23:07

Re: Upgrade failure

Postby ivanovnegro » 2011-07-17 15:52

kujirasan wrote:This the content of sources.list:


#

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/ squeeze contrib main

deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official i386 DVD Binary-1 20110205-17:27]/ squeeze contrib main



Looks ok to me, but what is with the second CD line, I am not sure, if you have to comment it out.
ivanovnegro
 
Posts: 729
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Upgrade failure

Postby renatov » 2011-07-17 16:56

The backports repository should not be enabled in your sources.list. You need to let only the default Debian repositories. And before the upgrade, you need to uninstall all third-part software.
Debian Jessie
Usuário #517613
User avatar
renatov
 
Posts: 138
Joined: 2010-09-19 20:35
Location: Brasil

Re: Upgrade failure

Postby ivanovnegro » 2011-07-17 17:54

I still not understand to what the OP is upgrading or is it just an update?
Of course, if this should be an upgrade to Wheezy, then of course, the backports has to be removed, all third party repos etc.
ivanovnegro
 
Posts: 729
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Upgrade failure

Postby renatov » 2011-07-17 18:00

I guess it's an upgrade from Lenny to Squeeze, telling by his sources.list.
Debian Jessie
Usuário #517613
User avatar
renatov
 
Posts: 138
Joined: 2010-09-19 20:35
Location: Brasil

Re: Upgrade failure

Postby kujirasan » 2011-07-18 01:47

Thanks for the replies!
There is no up grade from Lenny , it is fresh Squeeze installation ,
I get message to upgrade when I go on line, so proceed to upgrade, and the get the error message, that is it,
kujirasan
 
Posts: 175
Joined: 2009-03-08 23:07

Re: Upgrade failure

Postby kevmitch » 2011-07-18 02:03

kevmitch wrote:Sounds like the file /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb is corrupted. Delete it an a new one will be downloaded.

So what happens when you delete the file? Don't remove backports - it's most likely not the problem. linux-image-2.6.32-5 is part of squeeze.
kevmitch
 
Posts: 498
Joined: 2008-01-29 20:43

Re: Upgrade failure

Postby renatov » 2011-07-18 02:07

Have you tryed to delete /lib/modules/2.6.32-5-amd64/kernel/drivers/net/s2io.ko ? (make a back up before you do it)
Debian Jessie
Usuário #517613
User avatar
renatov
 
Posts: 138
Joined: 2010-09-19 20:35
Location: Brasil

Re: Upgrade failure

Postby ivanovnegro » 2011-07-18 03:01

Then it is an update problem and not an upgrade problem.
You are trying just to update your Squeeze install if understand correctly. So, let the backports where there are and proceed with kevmitch's suggestion.
Post back the results.
ivanovnegro
 
Posts: 729
Joined: 2011-06-04 20:06
Location: Valencia, Spain

Re: Upgrade failure

Postby kujirasan » 2011-07-18 05:26

Hi Kev, I deleted the the file linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb and nothing happened
As well I tried to install the the bigmem linux image and the whole thing is worse now, any idea how to remove a kernel, I know first to have list it , but I don't what is the command to list all kernels, uname -r, only lists the current one.
kujirasan
 
Posts: 175
Joined: 2009-03-08 23:07

Re: Upgrade failure

Postby kevmitch » 2011-07-18 06:19

kujirasan wrote:Hi Kev, I deleted the the file linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb and nothing happened
As well I tried to install the the bigmem linux image and the whole thing is worse now, any idea how to remove a kernel, I know first to have list it , but I don't what is the command to list all kernels, uname -r, only lists the current one.

By "nothing happened", do you mean, you get the same error message? Try
a) extracting the package manually
Code: Select all
dpkg -x /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb /tmp/linux-image-2.6.32-5-amd64_2.6.32-35_i386

b) installing the package manually
Code: Select all
dpkg -i /var/cache/apt/archives/linux-image-2.6.32-5-amd64_2.6.32-35_i386.deb

c) changing mirrors
kevmitch
 
Posts: 498
Joined: 2008-01-29 20:43

Re: Upgrade failure

Postby kujirasan » 2011-07-19 04:31

Thank Kev, I just let it stay as it is, already lost the use of printer, tampering with kernel is not a such a good idea
kujirasan
 
Posts: 175
Joined: 2009-03-08 23:07

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable