LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-29-2016, 08:47 PM   #1
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304

Rep: Reputation: 5
Why Do I Get Windows Full, If I apt-get update All Day Long?


I did apt-get update and got Terminal Windows (terminal window I can scroll a couple times) full of "updates."
I did it again, got windows full of "updates." I did it again, got more updates. As long as I do it, I get updates.

I closed the terminal window and did some stuff on the internet. I apt-get updated again, got windows full of updates.

Any day, any time, no matter how many times I do it, I get pages and pages of updates. I can't believe I can get this many updates all the time.

Another thing, if I go to the check mark in Update Manager, I can see "Your system is up to date," there is no updates available. Apt-get update in terminal shows pages of updates.

Can anyone tell me know what's going on?

Thank you,
Chris.
 
Old 05-29-2016, 08:54 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,922
Blog Entries: 28

Rep: Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589
apt-get is not yum.

Code:
apt-get update
updates the software list.

Code:
apt-get upgrade
installs the updates.

Your list of updates keeps increasing because, apparently, you have not yet actually installed any of the updates.

I commonly run

Code:
apt-get update && apt-get upgrade
apt-get autoclean
apt-get autoremove   <---after a kernel update
See man apt-get for more.

Last edited by frankbell; 05-29-2016 at 08:56 PM.
 
Old 05-29-2016, 10:30 PM   #3
happydog500
Member
 
Registered: Dec 2006
Location: Washington St.
Distribution: Linux Mint 18.2, Windows 7, 10, Ubuntu-MATE, Xubuntu, devuan, and about a dozen others-Hopper
Posts: 304

Original Poster
Rep: Reputation: 5
When I do "apt-get update && apt-get upgrade" I get; "Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."
I have pages and pages of upgrades, it goes through them, installs them, but 0 are upgraded.

After I get done upgrading, which none are upgraded, I do the autoclean, I get;

"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?."

Chris.

Last edited by happydog500; 05-29-2016 at 10:41 PM.
 
Old 05-29-2016, 10:33 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,922
Blog Entries: 28

Rep: Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589
You user agent icon says "Ubuntu."

If you are using Ubuntu or another distro that shares Ubuntu's weird sudo fetish and have not unlocked the root account, it would be

Code:
sudo apt-get update && sudo apt-get upgrade
And so on.

It helps at LQ to include your distro/version and other relevant information when you ask a question. The more precise the information you provide, the easier it is for others to help you.

Last edited by frankbell; 05-29-2016 at 10:35 PM.
 
Old 05-30-2016, 03:56 AM   #5
HT-Borås
Member
 
Registered: Apr 2016
Location: Borås, Sweden
Distribution: CentOS
Posts: 54

Rep: Reputation: 18
If this is Linux Mint as indicated, the Update Manager should provide the correct information and perform necessary updates. The commands given are correct: sudo apt-get update; sudo apt-get upgrade, but are you sure that the system isn't already updated?

Last edited by HT-Borås; 05-30-2016 at 04:04 AM.
 
1 members found this post helpful.
Old 05-30-2016, 06:45 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,585

Rep: Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351Reputation: 2351
I think you're just misunderstanding what the commands do. "apt-get update" is, as mentioned above, just searching the servers for updates and noting more and "apt-get upgrade" is upgrading the packages. If you just keep typing "apt-get update" your system will just keep checking or updates. Perhaps take some time to learn a little more?
https://en.wikipedia.org/wiki/Advanced_Packaging_Tool
 
Old 05-30-2016, 07:40 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
"sudo apt-get update" is like getting the new phone book of software.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update and gpg key downloading inside VM taking an obscenely long time slacker_ Debian 8 06-21-2014 02:31 AM
LXer: New Apt-Fast Version, Now With Full Apt-Get Syntax Replacement LXer Syndicated Linux News 0 01-17-2010 08:51 PM
root partiton getting full day by day ashik9001 Linux - Enterprise 7 07-26-2009 01:17 PM
apt-get update on windows for ubuntu remfarkas Ubuntu 9 10-01-2008 04:33 AM
Ok, when one runs apt-get on knoppix does it update it to the full debian sid version maximalred Debian 1 06-24-2004 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:19 PM.

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