Software Updates Failed Debian jessie

New to Debian (Or Linux in general)? Ask your questions here!

Software Updates Failed Debian jessie

Postby J.Val » 2015-08-04 03:22

When I reboot and log into my account ( I am the only user ) I get the following message at the bottom of the screen.

Software Updates Failed An important OS update failed to be inst...

Details of this message read:

Package Mgr Error

The offline update failed in an unexpected way.
Detailed errors from the package manager follow:

Cannot download packages whilst offline

It is always the same message and it never says what it was trying to install. I have run apt-get update and apt-get upgrade. The only error I ever see is:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Any sugestions?
Thanks,
-Val
Debian 8.3 64bit (Installed April. 2016)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
J.Val
 
Posts: 30
Joined: 2014-05-12 23:45

Re: Software Updates Failed Debian jessie

Postby stevepusser » 2015-08-04 03:36

As in the umpteen other threads of this sort, the contents of your /etc/apt/sources.list and the complete output of apt-get update are the key.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.6, Pale Moon 28.0.1, wine-staging 3.15, qBittorrent 4.1.2, Linux kernel 4.18.6, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9898
Joined: 2009-10-06 05:53

Re: Software Updates Failed Debian jessie

Postby GarryRicketson » 2015-08-04 04:14

Cannot download packages whilst offline

This makes me wonder, are you sure you are online ,connected ?



http://forums.debian.net/search.php?keywords=updates+failed
User avatar
GarryRicketson
 
Posts: 5039
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Software Updates Failed Debian jessie

Postby J.Val » 2015-08-04 04:23

Here is my sources.list


# deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 NETINST Binary-1 20150606-14:16]/ jessie main

#deb cdrom:[Debian GNU/Linux 8.1.0 _Jessie_ - Official amd64 NETINST Binary-1 20150606-14:16]/ jessie main

# http://http.debian.net/ Using the redirector
deb http://httpredir.debian.org/debian jessie main contrib non-free

#deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

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

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main
deb-src http://ftp.us.debian.org/debian/ jessie-updates main

# deb http://ftp.au.debian.org/debian/ jessie main contrib non-free
# deb-src http://ftp.au.debian.org/debian/ jessie main contrib non-free

## Add this line for Opera browser
## use "stable" instead of distribution name
deb http://deb.opera.com/opera stable non-free


Results of apt-get update:

root@V-debian:/home/val# apt-get update
Get:1 http://ftp.us.debian.org jessie-updates InRelease [123 kB]
Get:2 http://security.debian.org jessie/updates InRelease [63.1 kB]
Hit http://deb.opera.com stable InRelease
Hit http://httpredir.debian.org jessie InRelease
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [123 kB]
Get:4 http://ftp.us.debian.org jessie-updates/main Sources [2,473 B]
Get:5 http://ftp.us.debian.org jessie-updates/main amd64 Packages/DiffIndex [505 B]
Get:6 http://ftp.us.debian.org jessie-updates/main i386 Packages/DiffIndex [505 B]
Get:7 http://httpredir.debian.org jessie/main amd64 Packages [6,768 kB]
Get:8 http://security.debian.org jessie/updates/contrib amd64 Packages [2,488 B]
Get:9 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [229 B]
Get:10 http://security.debian.org jessie/updates/non-free amd64 Packages [14 B]
Get:11 http://security.debian.org jessie/updates/main i386 Packages [123 kB]
Hit http://deb.opera.com stable/non-free amd64 Packages
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://httpredir.debian.org jessie/contrib amd64 Packages
Hit http://httpredir.debian.org jessie/non-free amd64 Packages
Get:12 http://security.debian.org jessie/updates/contrib i386 Packages [2,500 B]
Hit http://httpredir.debian.org jessie/main i386 Packages
Get:13 http://security.debian.org jessie/updates/non-free i386 Packages [14 B]
Hit http://httpredir.debian.org jessie/contrib i386 Packages
Hit http://httpredir.debian.org jessie/non-free i386 Packages
Get:14 http://security.debian.org jessie/updates/contrib Translation-en [1,098 B]
Get:15 http://security.debian.org jessie/updates/main Translation-en [67.2 kB]
Hit http://httpredir.debian.org jessie/main Translation-en
Get:16 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Hit http://httpredir.debian.org jessie/non-free Translation-en
Ign http://deb.opera.com stable/non-free Translation-en_US
Ign http://deb.opera.com stable/non-free Translation-en
Hit http://httpredir.debian.org jessie/contrib Translation-en
Err http://httpredir.debian.org jessie/main amd64 Packages

Fetched 7,277 kB in 29s (250 kB/s)
W: Failed to fetch http://httpredir.debian.org/debian/dist ... 6/Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@V-debian:/home/val#


Hope this helps.
Debian 8.3 64bit (Installed April. 2016)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
J.Val
 
Posts: 30
Joined: 2014-05-12 23:45

Re: Software Updates Failed Debian jessie

Postby edbarx » 2015-08-04 13:52

That kind of errors usually are resolved after a few days. Your installation most probably is not the cause of the error but the mirror.
Debian == { > 30, 000 packages }; Debian != systemd
The worst infection of all, is a false sense of security!
It is hard to get away from CLI tools.
User avatar
edbarx
 
Posts: 5394
Joined: 2007-07-18 06:19
Location: 35° 50 N, 14 º 35 E

Re: Software Updates Failed Debian jessie

Postby J.Val » 2015-08-14 08:02

It has been over two weeks and this error is still occuring.

Package Mgr Error

The offline update failed in an unexpected way.
Detailed errors from the package manager follow:

Cannot download packages whilst offline
Debian 8.3 64bit (Installed April. 2016)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
J.Val
 
Posts: 30
Joined: 2014-05-12 23:45

Re: Software Updates Failed Debian jessie

Postby kedaha » 2015-08-14 09:11

J.Val wrote:Here is my sources.list
Code: Select all
deb http://httpredir.debian.org/debian jessie main contrib non-free

If you insert a slash /after "debian" so the line looks like this?
Code: Select all
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

solved.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2861
Joined: 2008-05-24 12:26

Re: Software Updates Failed Debian jessie

Postby J.Val » 2015-08-21 04:26

I inserted the / on the line suggested two days ago and the error message still occures.

-Val
Debian 8.3 64bit (Installed April. 2016)
Memory 3Gb
Video nVidia GeForce 9800GT 512Mb DDR3, CPU AMD Phenom 9550
Disk Samsung HD103SJ 1Tb 3Gb/s (Installed April 2010)
J.Val
 
Posts: 30
Joined: 2014-05-12 23:45

Re: Software Updates Failed Debian jessie

Postby millpond » 2015-08-21 07:14

J.Val wrote:I inserted the / on the line suggested two days ago and the error message still occures.

-Val


#deb http://ftp.us.debian.org/debian/ jessie main contrib non-free

Uncomment, and use that instead of the httpredir server.
millpond
 
Posts: 582
Joined: 2014-06-25 04:56

Re: Software Updates Failed Debian jessie

Postby somebodyelse » 2015-08-21 07:27

Type http://httpredir.debian.org/debian/ (don't forget the trailing slash) into your browser and hit enter. Note the actual address of the mirror. Then set up your sources for a mirror that is not that mirror.

If everything now works fine, the problem is most likely the mirror. If that's the case, you can inform mirrors@debian.org.
somebodyelse
 
Posts: 231
Joined: 2015-05-24 17:15

Re: Software Updates Failed Debian jessie

Postby ecarlevaro » 2016-07-24 23:54

If you or anyone else has this problem I solved it following this tutorial:

The issue was solved by putting managed=true in /etc/NetworkManager/NetworkManager.conf so that NetworkManager also handles that interface:

$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

After that Software Update works as expected.

Source: https://bugs.freedesktop.org/show_bug.cgi?id=71792
User avatar
ecarlevaro
 
Posts: 5
Joined: 2013-12-27 16:34
Location: Paraná, Argentina

Re: Software Updates Failed Debian jessie

Postby jalisco » 2018-07-11 06:05

ecarlevaro wrote:If you or anyone else has this problem I solved it following this tutorial:

The issue was solved by putting managed=true in /etc/NetworkManager/NetworkManager.conf so that NetworkManager also handles that interface:

$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

After that Software Update works as expected.

Source: https://bugs.freedesktop.org/show_bug.cgi?id=71792


Thanks! this tip worked for me, after weeks of just "letting it slide" I finally decided I wanted rid of this annoying, perpetual message =) now gone.
jalisco
 
Posts: 73
Joined: 2013-09-01 17:30


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable