LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-16-2018, 06:43 PM   #1
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Rep: Reputation: Disabled
"apt update" seems to not be working


This is really a newbie type question, but since my question concerns kali, I'm posting here, hope I got that right.

For two weeks, now, every time I try to update I get "all packages are up to date". This seems unlikely to me because kali puts out dailies. Never in the past have I gone this long without an update. Never more than a day or shorter. I use the berkeley mirrors, if that is germane to the topic.

If there is a kali user who uses the berkeley mirrors, would you tell me if the mirrors are working properly

If the berkeley mirrors are working properly, then what might be my problem be?

screenshots for whatever they may be worth

Click image for larger version

Name:	apt-update-results.png
Views:	28
Size:	190.8 KB
ID:	28410

Click image for larger version

Name:	sources.list.png
Views:	39
Size:	65.5 KB
ID:	28411
 
Old 08-16-2018, 07:04 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
Do you need to use those mirrors? Have you tried alternate mirrors?
 
1 members found this post helpful.
Old 08-16-2018, 08:44 PM   #3
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheEzekielProject View Post
Do you need to use those mirrors? Have you tried alternate mirrors?

I tried but the file wasn't formatted correctly, and it did look funny. I'll try again.

Thank you
 
Old 08-16-2018, 08:56 PM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
What do you mean the file wasn't formatted correctly? A single line is all you really need such as
Code:
deb https://archive-7.kali.org/kali kali-rolling main non-free contrib
You can find kali mirror list here http://http.kali.org/README.mirrorlist
 
1 members found this post helpful.
Old 08-16-2018, 11:39 PM   #5
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Okay. I was successful in changing mirrors, same result, "all packages are up to date", but I learned how to format items in sources.list. Now I need to know if others are having this "problem", which might mean it is the repository at http://http.kali.org/, kali's main repository.

Thank you
 
Old 08-17-2018, 12:09 AM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
So you had the same result with
Code:
deb http://http.kali.org/kali kali-rolling main non-free contrib
as you did with
Code:
deb https://archive-7.kali.org/kali kali-rolling main non-free contrib
??

I vaguely remember having a similar issue and having changed to the above mentioned mirror on a throwaway box, which fixed it at the time. I have had no issues since.

What does
Code:
/var/log/dpkg.log | grep upgrade
show as your last upgrade time?


EDIT: Did you make sure to run
Code:
apt update
after changing the mirror in /etc/apt/sources.list?

Last edited by TheEzekielProject; 08-17-2018 at 12:10 AM.
 
1 members found this post helpful.
Old 08-17-2018, 10:55 PM   #7
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheEzekielProject View Post
So you had the same result with
Code:
deb http://http.kali.org/kali kali-rolling main non-free contrib
as you did with
Code:
deb https://archive-7.kali.org/kali kali-rolling main non-free contrib
??

I vaguely remember having a similar issue and having changed to the above mentioned mirror on a throwaway box, which fixed it at the time. I have had no issues since.

What does
Code:
/var/log/dpkg.log | grep upgrade
show as your last upgrade time?


EDIT: Did you make sure to run
Code:
apt update
after changing the mirror in /etc/apt/sources.list?
I tried this archive and nothing changed. I ran the grep and it returned permission denied, so I went to the file and looked at all the entries. It says yesterday, but that's when I installed handbrake. I installed something else, forget exactly what, but to test to see if that side of things worked, it does.

Here are the logs from the 16th, the latest entries in /var/log/dpkg.log (I hope this won't be too long, I tried to make it so that it will be in a box for scrolling)

By the way, thank you for all your assistance.


Code:
2018-08-16 15:09:22 startup archives unpack
2018-08-16 15:09:27 install insserv:amd64 <none> 1.14.0-5.4+b1
2018-08-16 15:09:27 status half-installed insserv:amd64 1.14.0-5.4+b1
2018-08-16 15:09:27 status triggers-pending man-db:amd64 2.8.3-2
2018-08-16 15:09:28 status unpacked insserv:amd64 1.14.0-5.4+b1
2018-08-16 15:09:28 status unpacked insserv:amd64 1.14.0-5.4+b1
2018-08-16 15:09:28 startup packages configure
2018-08-16 15:09:28 configure insserv:amd64 1.14.0-5.4+b1 <none>
2018-08-16 15:09:28 status unpacked insserv:amd64 1.14.0-5.4+b1
2018-08-16 15:09:28 status unpacked insserv:amd64 1.14.0-5.4+b1
2018-08-16 15:09:28 status half-configured insserv:amd64 1.14.0-5.4+b1
2018-08-16 15:09:28 status installed insserv:amd64 1.14.0-5.4+b1
2018-08-16 15:09:29 startup archives unpack
2018-08-16 15:09:29 install startpar:amd64 <none> 0.59-4
2018-08-16 15:09:29 status half-installed startpar:amd64 0.59-4
2018-08-16 15:09:29 status unpacked startpar:amd64 0.59-4
2018-08-16 15:09:29 status unpacked startpar:amd64 0.59-4
2018-08-16 15:09:30 startup packages configure
2018-08-16 15:09:30 configure startpar:amd64 0.59-4 <none>
2018-08-16 15:09:30 status unpacked startpar:amd64 0.59-4
2018-08-16 15:09:30 status unpacked startpar:amd64 0.59-4
2018-08-16 15:09:30 status half-configured startpar:amd64 0.59-4
2018-08-16 15:09:30 status installed startpar:amd64 0.59-4
2018-08-16 15:09:30 startup archives unpack
2018-08-16 15:09:31 install sysv-rc:all <none> 2.88dsf-59.10
2018-08-16 15:09:31 status half-installed sysv-rc:all 2.88dsf-59.10
2018-08-16 15:09:31 status triggers-pending systemd:amd64 239-7
2018-08-16 15:09:31 status unpacked sysv-rc:all 2.88dsf-59.10
2018-08-16 15:09:31 status unpacked sysv-rc:all 2.88dsf-59.10
2018-08-16 15:09:32 startup packages configure
2018-08-16 15:09:32 configure sysv-rc:all 2.88dsf-59.10 <none>
2018-08-16 15:09:32 status unpacked sysv-rc:all 2.88dsf-59.10
2018-08-16 15:09:32 status half-configured sysv-rc:all 2.88dsf-59.10
2018-08-16 15:09:32 status installed sysv-rc:all 2.88dsf-59.10
2018-08-16 15:09:32 startup archives unpack
2018-08-16 15:09:33 install initscripts:amd64 <none> 2.88dsf-59.10
2018-08-16 15:09:33 status half-installed initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:33 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:33 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:33 startup packages configure
2018-08-16 15:09:33 configure initscripts:amd64 2.88dsf-59.10 <none>
2018-08-16 15:09:33 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:33 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:33 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:33 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:33 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:34 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:35 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:35 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:35 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:35 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:35 status unpacked initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:35 status half-configured initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:45 status installed initscripts:amd64 2.88dsf-59.10
2018-08-16 15:09:45 startup archives unpack
2018-08-16 15:09:46 install sysvinit:amd64 <none> 2.88dsf-41+deb7u1
2018-08-16 15:09:46 status half-installed sysvinit:amd64 2.88dsf-41+deb7u1
2018-08-16 15:09:46 status unpacked sysvinit:amd64 2.88dsf-41+deb7u1
2018-08-16 15:09:46 status unpacked sysvinit:amd64 2.88dsf-41+deb7u1
2018-08-16 15:09:46 startup packages configure
2018-08-16 15:09:46 configure sysvinit:amd64 2.88dsf-41+deb7u1 <none>
2018-08-16 15:09:46 status unpacked sysvinit:amd64 2.88dsf-41+deb7u1
2018-08-16 15:09:46 status half-configured sysvinit:amd64 2.88dsf-41+deb7u1
2018-08-16 15:09:46 status installed sysvinit:amd64 2.88dsf-41+deb7u1
2018-08-16 15:09:47 startup packages configure
2018-08-16 15:09:47 trigproc systemd:amd64 239-7 <none>
2018-08-16 15:09:47 status half-configured systemd:amd64 239-7
2018-08-16 15:09:47 status installed systemd:amd64 239-7
2018-08-16 15:09:47 trigproc man-db:amd64 2.8.3-2 <none>
2018-08-16 15:09:47 status half-configured man-db:amd64 2.8.3-2
2018-08-16 15:09:49 status installed man-db:amd64 2.8.3-2
 
Old 08-18-2018, 10:51 AM   #8
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Today it hit with something like 700 packages which need updating. Not so much solved, yet working, at least for now

Thank you for all your help

Last edited by LilDeadGirl; 08-18-2018 at 11:12 AM.
 
Old 08-18-2018, 11:28 PM   #9
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
No problem, hopefully it continues working for you.

Of course, post back here if not. Good luck
 
1 members found this post helpful.
Old 08-20-2018, 07:49 AM   #10
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
n/m.
working
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"USER failed: Permission Denied" when apt-get update is run. How to login? kazewind Debian 5 08-03-2017 03:32 PM
aptitude and apt-get update results in "Hash Sum mismatch" lazylogic Debian 11 05-20-2015 03:36 AM
Apt update stuck with "A copy of the C library was found in an unexpected directory" exoool Debian 20 10-31-2011 04:33 AM
[SOLVED] apt-get install pkg_name returns "update-alternatives: command not found" bpeacocke Linux - Software 5 10-12-2011 09:16 PM
unique password for "update" and "synaptic" and "apt-get" SaintDanBert Linux - Security 1 09-17-2010 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration