Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-05-2017, 12:54 PM
|
#16
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
Quote:
Originally Posted by erik2282
Also, as I study your sources.list closer, I can see you have entries for Jessie and stable, which are not the same versions of Debian. jessie is version 8, and stable is version 9. This needs to be corrected. Do you have Debian 8 or Debian 9 installed?
Please post the output of:
Code:
# cat /etc/*release*
Edit:
It sounds like you probably have Jessie. But when Debian Stretch became "stable" and Debian Jessie became "oldstable" you started having issues with that mismatch. This is why i don't use stable in my sources.list and instead the name, wheezy, jesse, etc...
|
output is:
Quote:
gelapir@Gelapir:~$ cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
gelapir@Gelapir:~$
|
|
|
|
07-05-2017, 12:54 PM
|
#17
|
LQ Guru
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,921
|
It appears only two of several are not responding, and those may not be valid.
The question about your version is critical, as you will want ONLY the source entries for your running version.
There are automated tools to obtain a new mirror list and the closest/fastest resources, but you will still need to know what version to pull.
|
|
|
07-05-2017, 12:56 PM
|
#18
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
go ahead and edit your sources.list file and any instance that you see in there called "stable" change it to "jessie". Then after that run"
Code:
apt-get update && apt-get upgrade
|
|
|
07-05-2017, 12:56 PM
|
#19
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
Thanks for replay sir.
|
|
|
07-05-2017, 01:04 PM
|
#20
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
i changed stable to jessie and output was that:
Quote:
gelapir@Gelapir:~$ sudo apt-get update && apt-get upgrade
[sudo] password for gelapir:
Ign http://ftp.debian.org jessie InRelease
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Ign http://mozilla.debian.net jessie-backports InRelease
Ign http://mirrors.kernel.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Ign http://mozilla.debian.net jessie-backports Release.gpg
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://mirrors.kernel.org jessie-updates InRelease
Get:2 http://ftp.debian.org jessie Release.gpg [2,373 B]
Ign http://mozilla.debian.net jessie-backports Release
Hit http://mirrors.kernel.org jessie Release.gpg
Get:3 http://ftp.debian.org jessie-updates/contrib amd64 Packages [32 B]
Ign http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages/DiffIndex
Hit http://mirrors.kernel.org jessie Release
Get:4 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:5 http://ftp.debian.org jessie-updates/main Translation-en [12.7 kB]
Get:6 http://mirrors.kernel.org jessie-updates/main Sources [15.7 kB]
Get:7 http://ftp.debian.org jessie-updates/non-free Translation-en [496 B]
Get:8 http://ftp.debian.org jessie Release [148 kB]
Get:9 http://mirrors.kernel.org jessie-updates/main amd64 Packages/DiffIndex [8,392 B]
Get:10 http://ftp.debian.org jessie-updates/main amd64 Packages [15.8 kB]
Get:11 http://security.debian.org jessie/updates/contrib amd64 Packages [2,506 B]
Get:12 http://mirrors.kernel.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Get:13 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Get:14 http://ftp.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [24.6 kB]
Get:15 http://mirrors.kernel.org jessie/main Sources [7,055 kB]
Get:16 http://ftp.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [22.4 kB]
Get:17 http://security.debian.org jessie/updates/non-free amd64 Packages [14 B]
Get:18 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [6,976 B]
Get:19 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:20 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [16.7 kB]
Get:21 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]
Get:22 http://ftp.debian.org jessie-updates/non-free amd64 Packages [516 B]
Get:23 http://ftp.debian.org jessie/main amd64 Packages [6,790 kB]
Get:24 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en_US
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en
Err http://mozilla.debian.net jessie-backports/firefox-release amd64 Packages
404 Not Found [IP: 140.211.166.202 80]
Get:25 http://ftp.debian.org jessie/contrib amd64 Packages [50.2 kB]
Get:26 http://ftp.debian.org jessie/non-free amd64 Packages [83.6 kB]
Get:27 http://ftp.debian.org jessie/contrib Translation-en [38.5 kB]
Get:28 http://ftp.debian.org jessie/main Translation-en [4,583 kB]
Get:29 http://mirrors.kernel.org jessie/main amd64 Packages [6,790 kB]
Get:30 http://ftp.debian.org jessie/non-free Translation-en [72.1 kB]
Get:31 http://mirrors.kernel.org jessie/main Translation-en [4,583 kB]
Fetched 19.1 MB in 14s (1,312 kB/s)
W: Failed to fetch http://mozilla.debian.net/dists/jess...amd64/Packages 404 Not Found [IP: 140.211.166.202 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
gelapir@Gelapir:~$
|
|
|
|
07-05-2017, 01:07 PM
|
#21
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
now my source list looks like that:
|
|
|
07-05-2017, 01:11 PM
|
#22
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
so what have to do next, how to solve that issue? also needs my source list any editions?
|
|
|
07-05-2017, 01:13 PM
|
#23
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
You can no longer use that repo. Delete that line from your sources.list. After that update and upgrade again.
https://mozilla.debian.net/
Debian Mozilla team
The Debian Mozilla team provides various versions of some Mozilla related packages for use on different Debian systems. The following wizard helps you to find the packages suitable for your system.
WARNING: Iceweasel is gone. Please update your apt sources.
WARNING: Jessie and Stretch backports of Firefox release and beta are gone because of the requirement of rust to build them, which is not available in Jessie or Stretch. Please update your apt sources to use Firefox ESR instead.
WARNING: Aurora doesn't exist anymore.
« I am running Debian
and I want to install version
Sorry, this version is not available.
Please report any problem to the pkg-mozilla-maintainers@lists.alioth.debian.org list.
Last edited by erik2282; 07-05-2017 at 01:22 PM.
|
|
1 members found this post helpful.
|
07-05-2017, 01:19 PM
|
#24
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
i delete it as u told me and tried that command
Quote:
apt-get update && apt-get upgrade
|
output:
Quote:
gelapir@Gelapir:~$ sudo apt-get update && apt-get upgrade
Ign http://ftp.debian.org jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease
Ign http://mirrors.kernel.org jessie InRelease
Hit http://ftp.debian.org jessie-backports InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.debian.org jessie Release.gpg
Hit http://mirrors.kernel.org jessie-updates InRelease
Get:1 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [8,392 B]
Hit http://mirrors.kernel.org jessie Release.gpg
Get:2 http://ftp.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
Get:3 http://mirrors.kernel.org jessie-updates/main Sources [15.7 kB]
Get:4 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Get:5 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Hit http://ftp.debian.org jessie Release
Get:6 http://ftp.debian.org jessie-backports/main amd64 Packages/DiffIndex [27.8 kB]
Get:7 http://mirrors.kernel.org jessie-updates/main amd64 Packages/DiffIndex [8,392 B]
Get:8 http://ftp.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [24.6 kB]
Get:9 http://mirrors.kernel.org jessie-updates/main Translation-en/DiffIndex [3,196 B]
Get:10 http://ftp.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [22.4 kB]
Hit http://mirrors.kernel.org jessie Release
Get:11 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [6,976 B]
Get:12 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:13 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [16.7 kB]
Hit http://ftp.debian.org jessie-updates/contrib amd64 Packages
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Get:14 http://mirrors.kernel.org jessie/main Sources [7,055 kB]
Get:15 http://mirrors.kernel.org jessie/main amd64 Packages [6,790 kB]
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp.debian.org jessie/main amd64 Packages
Hit http://ftp.debian.org jessie/contrib amd64 Packages
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://ftp.debian.org jessie/non-free amd64 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://security.debian.org jessie/updates/contrib amd64 Packages
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Hit http://security.debian.org jessie/updates/non-free amd64 Packages
Hit http://security.debian.org jessie/updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:16 http://mirrors.kernel.org jessie/main Translation-en [4,583 kB]
Fetched 11.5 MB in 11s (1,005 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://security.debian.org/ jessie/updates/main amd64 Packages (/var/lib/apt/lists/security.debian.org_dists_jessie_updates_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
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?
|
|
|
|
07-05-2017, 01:32 PM
|
#25
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
Ok. Yes so you also have duplicate entries. Your sources list needs to be cleaned up. Do you have a need for downloading the source stuff? If not, you can have everything condensed into 4 lines like this:
Code:
deb http://ftp.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
# Backports
deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
|
|
1 members found this post helpful.
|
07-05-2017, 01:37 PM
|
#26
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
ok i will change my source list with that:
which u provide me right? and after will run apt-get update && apt-get upgrade
|
|
|
07-05-2017, 01:39 PM
|
#27
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
Quote:
Originally Posted by THE PHANTOM
which u provide me right? and after will run apt-get update && apt-get upgrade
|
Yes sir.
|
|
|
07-05-2017, 01:44 PM
|
#28
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
Thanks. i did it and uotput is that:
what is that last one E:
|
|
|
07-05-2017, 01:50 PM
|
#29
|
Member
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 833
|
Try running these commands:
Code:
# apt-get autoclean
# apt-get clean
# apt-get update && apt-get upgrade
Also you dont happen to be running apt in another terminal or have the gui software package open do you?
Last edited by erik2282; 07-05-2017 at 01:52 PM.
|
|
|
07-05-2017, 01:52 PM
|
#30
|
Member
Registered: Mar 2016
Posts: 94
Original Poster
Rep:
|
also i have one question: what should i do most that my system keep always updated? what commands or methods u advice me sir? Thanks for help and yout time and sorry for disturbing u.
|
|
|
All times are GMT -5. The time now is 03:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|