Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Debian won't update - package updater error
-
- Posts: 55
- Joined: 2017-02-02 18:38
Debian won't update - package updater error
Package Updater says "no network connection was detected", although internet works fine(wireless) and I'm on it right now writing this post......any ideas? I'm a disabled i.t. pro, so I'm not hesitant to try ideas...
T.I.A.
-Al
T.I.A.
-Al
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Debian won't update - package updater error
If you open a Terminal ans input (AS ROOT) --what does it say?
Code: Select all
apt update
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
I use the "sudo" prefix in terminal and it spits out screens of output but doesn't appear to update anything...if you want, I can paste some/all of the output here, but I don't want to be spammy unless requested....arochester wrote:If you open a Terminal ans input (AS ROOT)--what does it say?Code: Select all
apt update
T!
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Debian won't update - package updater error
Paste away (in a code box). That probably shows what's going wrong.
MX Linux packager and developer
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
also, I just noticed in 'package updater, that it shows several updates behind the message that "no updates are available"...
here'es the output:
dad@dadlinux:~$ apt update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
dad@dadlinux:~$ sudo apt update
[sudo] password for dad:
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://http.us.debian.org squeeze InRelease
Hit http://dl.google.com stable Release
Ign http://http.us.debian.org squeeze Release.gpg
Ign http://http.us.debian.org squeeze Release
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://ftp.us.debian.org jessie InRelease
Ign http://security.debian.org squeeze/updates InRelease
Ign http://security.debian.org squeeze/updates Release.gpg
Get:2 http://ftp.us.debian.org jessie-updates InRelease [145 kB]
Ign http://security.debian.org squeeze/updates Release
Ign http://security.debian.org squeeze/updates/main i386 Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/contrib i386 Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/non-free i386 Packages/DiffIndex
Hit http://ftp.us.debian.org jessie Release.gpg
Hit http://ftp.us.debian.org jessie Release
Get:3 http://security.debian.org jessie/updates/main Sources [210 kB]
Get:4 http://ftp.us.debian.org jessie-updates/main Sources [15.7 kB]
Get:5 http://security.debian.org jessie/updates/main i386 Packages [416 kB]
Get:6 http://ftp.us.debian.org jessie-updates/main i386 Packages/DiffIndex [8,392 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Get:7 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Err http://http.us.debian.org squeeze/main i386 Packages
404 Not Found [IP: 2610:1483::89 80]
Err http://http.us.debian.org squeeze/contrib i386 Packages
404 Not Found [IP: 2610:1483::89 80]
Ign http://security.debian.org squeeze/updates/contrib Translation-en_US
Err http://http.us.debian.org squeeze/non-free i386 Packages
404 Not Found [IP: 2610:1483::89 80]
Ign http://security.debian.org squeeze/updates/contrib Translation-en
Ign http://security.debian.org squeeze/updates/main Translation-en_US
Ign http://http.us.debian.org squeeze/contrib Translation-en_US
Ign http://security.debian.org squeeze/updates/main Translation-en
Ign http://security.debian.org squeeze/updates/non-free Translation-en_US
Ign http://security.debian.org squeeze/updates/non-free Translation-en
Ign http://http.us.debian.org squeeze/contrib Translation-en
Err http://security.debian.org squeeze/updates/main i386 Packages
404 Not Found [IP: 2607:ea00:101215 80]
Err http://security.debian.org squeeze/updates/contrib i386 Packages
404 Not Found [IP: 2607:ea00:101215 80]
Ign http://http.us.debian.org squeeze/main Translation-en_US
Err http://security.debian.org squeeze/updates/non-free i386 Packages
404 Not Found [IP: 2607:ea00:101215 80]
Ign http://http.us.debian.org squeeze/main Translation-en
Ign http://http.us.debian.org squeeze/non-free Translation-en_US
Ign http://http.us.debian.org squeeze/non-free Translation-en
Get:8 http://ftp.us.debian.org jessie/main Sources [7,055 kB]
Get:9 http://ftp.us.debian.org jessie/main i386 Packages [6,793 kB]
Get:10 http://ftp.us.debian.org jessie/main Translation-en [4,583 kB]
Fetched 861 kB in 24s (35.6 kB/s)
W: There is no public key available for the following key IDs:
1397BC53640DB551
W: Failed to fetch http://dl.google.com/linux/chrome/deb/d ... le/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://http.us.debian.org/debian/dists/ ... 6/Packages 404 Not Found [IP: 2610:1483::89 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/ ... 6/Packages 404 Not Found [IP: 2610:1483::89 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/ ... 6/Packages 404 Not Found [IP: 2610:1483::89 80]
W: Failed to fetch http://security.debian.org/dists/squeez ... 6/Packages 404 Not Found [IP: 2607:ea00:101215 80]
W: Failed to fetch http://security.debian.org/dists/squeez ... 6/Packages 404 Not Found [IP: 2607:ea00:101215 80]
W: Failed to fetch http://security.debian.org/dists/squeez ... 6/Packages 404 Not Found [IP: 2607:ea00:101215 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
dad@dadlinux:~$
here'es the output:
dad@dadlinux:~$ apt update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
dad@dadlinux:~$ sudo apt update
[sudo] password for dad:
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://http.us.debian.org squeeze InRelease
Hit http://dl.google.com stable Release
Ign http://http.us.debian.org squeeze Release.gpg
Ign http://http.us.debian.org squeeze Release
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://ftp.us.debian.org jessie InRelease
Ign http://security.debian.org squeeze/updates InRelease
Ign http://security.debian.org squeeze/updates Release.gpg
Get:2 http://ftp.us.debian.org jessie-updates InRelease [145 kB]
Ign http://security.debian.org squeeze/updates Release
Ign http://security.debian.org squeeze/updates/main i386 Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/contrib i386 Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/non-free i386 Packages/DiffIndex
Hit http://ftp.us.debian.org jessie Release.gpg
Hit http://ftp.us.debian.org jessie Release
Get:3 http://security.debian.org jessie/updates/main Sources [210 kB]
Get:4 http://ftp.us.debian.org jessie-updates/main Sources [15.7 kB]
Get:5 http://security.debian.org jessie/updates/main i386 Packages [416 kB]
Get:6 http://ftp.us.debian.org jessie-updates/main i386 Packages/DiffIndex [8,392 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Get:7 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Err http://http.us.debian.org squeeze/main i386 Packages
404 Not Found [IP: 2610:1483::89 80]
Err http://http.us.debian.org squeeze/contrib i386 Packages
404 Not Found [IP: 2610:1483::89 80]
Ign http://security.debian.org squeeze/updates/contrib Translation-en_US
Err http://http.us.debian.org squeeze/non-free i386 Packages
404 Not Found [IP: 2610:1483::89 80]
Ign http://security.debian.org squeeze/updates/contrib Translation-en
Ign http://security.debian.org squeeze/updates/main Translation-en_US
Ign http://http.us.debian.org squeeze/contrib Translation-en_US
Ign http://security.debian.org squeeze/updates/main Translation-en
Ign http://security.debian.org squeeze/updates/non-free Translation-en_US
Ign http://security.debian.org squeeze/updates/non-free Translation-en
Ign http://http.us.debian.org squeeze/contrib Translation-en
Err http://security.debian.org squeeze/updates/main i386 Packages
404 Not Found [IP: 2607:ea00:101215 80]
Err http://security.debian.org squeeze/updates/contrib i386 Packages
404 Not Found [IP: 2607:ea00:101215 80]
Ign http://http.us.debian.org squeeze/main Translation-en_US
Err http://security.debian.org squeeze/updates/non-free i386 Packages
404 Not Found [IP: 2607:ea00:101215 80]
Ign http://http.us.debian.org squeeze/main Translation-en
Ign http://http.us.debian.org squeeze/non-free Translation-en_US
Ign http://http.us.debian.org squeeze/non-free Translation-en
Get:8 http://ftp.us.debian.org jessie/main Sources [7,055 kB]
Get:9 http://ftp.us.debian.org jessie/main i386 Packages [6,793 kB]
Get:10 http://ftp.us.debian.org jessie/main Translation-en [4,583 kB]
Fetched 861 kB in 24s (35.6 kB/s)
W: There is no public key available for the following key IDs:
1397BC53640DB551
W: Failed to fetch http://dl.google.com/linux/chrome/deb/d ... le/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://http.us.debian.org/debian/dists/ ... 6/Packages 404 Not Found [IP: 2610:1483::89 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/ ... 6/Packages 404 Not Found [IP: 2610:1483::89 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/ ... 6/Packages 404 Not Found [IP: 2610:1483::89 80]
W: Failed to fetch http://security.debian.org/dists/squeez ... 6/Packages 404 Not Found [IP: 2607:ea00:101215 80]
W: Failed to fetch http://security.debian.org/dists/squeez ... 6/Packages 404 Not Found [IP: 2607:ea00:101215 80]
W: Failed to fetch http://security.debian.org/dists/squeez ... 6/Packages 404 Not Found [IP: 2607:ea00:101215 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
dad@dadlinux:~$
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
thanks for your help in advance...I hope something sticks out to you from all that verbage
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Debian won't update - package updater error
Your source list must be in a mess.
The current Stable is Stretch
You have Stable, Squeeze and Jessie.
If things can't be sorted out you might be better with a fresh install.
A stretch sources list should look something like
The current Stable is Stretch
You have Stable, Squeeze and Jessie.
If things can't be sorted out you might be better with a fresh install.
A stretch sources list should look something like
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
i tried a temporary workaround that doesn't really solve the root of the problem, but did enable me to d/l updates.....found it here:https://bugs.debian.org/cgi-bin/bugrepo ... bug=819847. I'd swear I tried this before, but didn't have any luck...mebbe b/c I had closed terminal last time after issuing the command before trying updater?
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
Interesting idea......Not a viable option for this thing, though...a netbook I bought off ebay without any cd dock or anything. this is, though, the second time I've run into a problem with this thing after buying it and someone floated the idea of a fresh install.....out of curiosity, is ther an install image I could use a flash drive for? I do have flash drives, but no cd dockarochester wrote:Your source list must be in a mess.
The current Stable is Stretch
You have Stable, Squeeze and Jessie.
If things can't be sorted out you might be better with a fresh install.
A stretch sources list should look something likeCode: Select all
deb http://deb.debian.org/debian stretch main contrib non-free deb http://deb.debian.org/debian stretch-updates main contrib non-free deb http://security.debian.org/ stretch/updates main contrib non-free
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
I remember, for example, it arrived from ebay being unable to browse the wireless/internet.....through some troubleshooting, I found that it had 2 gateways defined, so it was trying to use the ethernet(not connected) as a gateway......Not a horribly difficult fix, but a pain nonetheless.....guess that's why it was only $40
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: Debian won't update - package updater error
I don't think that has much or anything to do with it,
your sources.list file does, though.
includes , squeeze , stable, and jessie, This is something you have done, ???
And now nothing works.
https://wiki.debian.org/DontBreakDebian
and this :
http://forums.debian.net/viewtopic.php?f=20&t=114130
a little documentation on Keywords:
https://www.debian.org/doc/manuals/debi ... ng.en.html
OR
https://wiki.debian.org/BootUsb
==========
https://www.debian.org/releases/stable/ ... 03.html.en
your sources.list file does, though.
Does not have anything to do with why your /apt/etc/sources.list... without any cd dock or anything
includes , squeeze , stable, and jessie, This is something you have done, ???
And now nothing works.
https://wiki.debian.org/DontBreakDebian
and this :
http://forums.debian.net/viewtopic.php?f=20&t=114130
Yes there is , actually you can use any image on a USB drive, try readingis ther an install image I could use a flash drive for?
a little documentation on Keywords:
Code: Select all
Methods of installing Debian
OR
Code: Select all
How to install Debian using a USB stick
==========
https://www.debian.org/releases/stable/ ... 03.html.en
Last edited by GarryRicketson on 2017-07-09 20:15, edited 1 time in total.
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Debian won't update - package updater error
You CAN install Debian from a USB flash drive.
You need to find out if your computer is 32bit or 64bit to download the correct IS0.
The use of Netbootin to write the ISO is NOT advised.
Look at something, like, Etcher instead.
Alternatively you can write the ISO to the USB flash drive using the dd command https://www.debian.org/CD/faq/#write-usb
You need to find out if your computer is 32bit or 64bit to download the correct IS0.
The use of Netbootin to write the ISO is NOT advised.
Look at something, like, Etcher instead.
Alternatively you can write the ISO to the USB flash drive using the dd command https://www.debian.org/CD/faq/#write-usb
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: Debian won't update - package updater error
That install is broken, install Stretch fresh and keep sources.list as mentioned earlier. It doesn't matter with what it came installed from e-bay. Just backup your data and reinstall.
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
here's the sources.list that is on there...
#
deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# 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://http.us.debian.org/debian squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
#
deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# 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://http.us.debian.org/debian squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: Debian won't update - package updater error
Change it to this
Try to update. It may not...
Code: Select all
deb http://deb.debian.org/debian jessie main contrib non-free
deb http://deb.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
Re: Debian won't update - package updater error
So, you bought a FrankenDebian netbook off eBay. Interesting. You can update the sources.list file and try to update but as stated, it may not work, and even if it did, there could be no end of incompatibilities lurking in your installation.
Just backup your files and do a clean install of Debian Stretch. There really is no other solution.
Don't use any third-party software to put the Debian iso on your USB stick. Just literally copy it over using the command line.
https://www.debian.org/releases/stable/ ... 03.html.en
Just backup your files and do a clean install of Debian Stretch. There really is no other solution.
Don't use any third-party software to put the Debian iso on your USB stick. Just literally copy it over using the command line.
https://www.debian.org/releases/stable/ ... 03.html.en
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
Would it require a reboot before updating? When I tried immediately after backing up the existing file then editing it as such, it returned the same result...arochester wrote:Change it to thisTry to update. It may not...Code: Select all
deb http://deb.debian.org/debian jessie main contrib non-free deb http://deb.debian.org/debian jessie-updates main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free
Thanks again!
Re: Debian won't update - package updater error
Four people in this thread [if you include the other person who 'floated' the idea] have suggested a clean install, which you can do through a USB drive, I have provided the link above which tells you how to do so. You seem to be willfully ignoring the people telling you to clean install and want to try the lazy way of updating sources.list, which, even if it did work in the short term, would not sort out the potential incompatibilities further down the line. Just do a clean install on the system and you won't have to worry about it again.
-
- Posts: 55
- Joined: 2017-02-02 18:38
Re: Debian won't update - package updater error
latest attempt after updating sources.list:ayarrington73 wrote:I use the "sudo" prefix in terminal and it spits out screens of output but doesn't appear to update anything...if you want, I can paste some/all of the output here, but I don't want to be spammy unless requested....arochester wrote:If you open a Terminal ans input (AS ROOT)--what does it say?Code: Select all
apt update
T!
dad@dadlinux:~$ sudo apt -update
[sudo] password for dad:
E: Command line option 'u' [from -update] is not known.
dad@dadlinux:~$ sudo apt update
Ign http://dl.google.com stable InRelease
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2,373 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/contrib i386 Packages [2,526 B]
Get:6 http://security.debian.org jessie/updates/non-free i386 Packages [14 B]
Get:7 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]
Get:8 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Hit http://security.debian.org jessie/updates/main i386 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Get:9 http://deb.debian.org jessie-updates/contrib i386 Packages [32 B]
Get:10 http://deb.debian.org jessie-updates/contrib Translation-en [14 B]
Get:11 http://deb.debian.org jessie-updates/main Translation-en [12.7 kB]
Get:12 http://deb.debian.org jessie-updates/non-free Translation-en [496 B]
Get:13 http://deb.debian.org jessie/main i386 Packages [6,793 kB]
Get:14 http://deb.debian.org jessie/contrib i386 Packages [49.5 kB]
Get:15 http://deb.debian.org jessie/non-free i386 Packages [80.4 kB]
Get:16 http://deb.debian.org jessie/contrib Translation-en [38.5 kB]
Get:17 http://deb.debian.org jessie/main Translation-en [4,583 kB]
Get:18 http://deb.debian.org jessie/non-free Translation-en [72.1 kB]
Get:19 http://deb.debian.org jessie-updates/main i386 Packages [16.1 kB]
Get:20 http://deb.debian.org jessie-updates/non-free i386 Packages [516 B]
Fetched 12.0 MB in 16s (731 kB/s)
W: There is no public key available for the following key IDs:
1397BC53640DB551
W: Failed to fetch http://dl.google.com/linux/chrome/deb/d ... le/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
dad@dadlinux:~$
Re: Debian won't update - package updater error
Let me make that five people.Lysander wrote:Four people in this thread [if you include the other person who 'floated' the idea] have suggested a clean install, which you can do through a USB drive, I have provided the link above which tells you how to do so. You seem to be willfully ignoring the people telling you to clean install and want to try the lazy way of updating sources.list, which, even if it did work in the short term, would not sort out the potential incompatibilities further down the line. Just do a clean install on the system and you won't have to worry about it again.
ayarrington73 - You cannot be sure what some random seller has put on that system, in my opinion, especially on a system so cheap. I sure wouldn't want to take a chance of exposing any of my private information on a FrankenDebian that I bought cheaply somewhere.