LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-21-2018, 01:34 PM   #91
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

Ok, thanks. My only guess is that it is a Mint extension of the apt command that allows apt to be used without sudo. Personally, I find it a bit frustrating, for support purposes in particular, that different distros should have a fundamentally different approach to the same command, but I'm just going to have to live with it. If I'm helping anyone who's running Ubuntu then I'll need to remember the sudo. Sorry for having wasted some of your time with this! It seems we're both learning something from this thread...

So, let's go back to sudo (as you rightly suggested):

Code:
sudo apt update

sudo apt install inxi
 
Old 05-21-2018, 01:38 PM   #92
NelsonLinux
Member
 
Registered: May 2018
Location: Nelson, Kootenay Rockies BC, Canada
Distribution: 16.04 LTS
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok, thanks. My only guess is that it is a Mint extension of the apt command that allows apt to be used without sudo. Personally, I find it a bit frustrating, for support purposes in particular, that different distros should have a fundamentally different approach to the same command, but I'm just going to have to live with it. If I'm helping anyone who's running Ubuntu then I'll need to remember the sudo. Sorry for having wasted some of your time with this! It seems we're both learning something from this thread...

So, let's go back to sudo (as you rightly suggested):

Code:
sudo apt update

sudo apt install inxi
Code:
[sudo] password for john: 
Hit:1 http://mirror.it.ubc.ca/ubuntu xenial InRelease
Hit:2 http://mirror.it.ubc.ca/ubuntu xenial-updates InRelease                  
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]     
Hit:4 http://mirror.it.ubc.ca/ubuntu xenial-backports InRelease                
Hit:5 http://archive.canonical.com/ubuntu xenial InRelease                     
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [491 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [438 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [212 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
Fetched 1,632 kB in 1s (965 kB/s)                                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Code:
john@john-HP-Compaq-6200-Pro-SFF-PC:~$ sudo apt install inxi
[sudo] password for john: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gawk hddtemp lm-sensors mesa-utils
Suggested packages:
  gawk-doc ksensors fancontrol sensord read-edid i2c-tools
The following NEW packages will be installed:
  gawk hddtemp inxi lm-sensors mesa-utils
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 693 kB of archives.
After this operation, 2,863 kB of additional disk space will be used.
Do you want to continue? [Y/n]
 
Old 05-21-2018, 01:40 PM   #93
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks. And the second command to install inxi?
 
Old 05-21-2018, 01:42 PM   #94
NelsonLinux
Member
 
Registered: May 2018
Location: Nelson, Kootenay Rockies BC, Canada
Distribution: 16.04 LTS
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Thanks. And the second command to install inxi?
added with edit to last post
 
Old 05-21-2018, 01:43 PM   #95
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by NelsonLinux View Post
added with edit to last post
Looks good. Y to continue.
 
Old 05-21-2018, 01:44 PM   #96
NelsonLinux
Member
 
Registered: May 2018
Location: Nelson, Kootenay Rockies BC, Canada
Distribution: 16.04 LTS
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Looks good. Y to continue.
100% complete do you want it copied here?
 
Old 05-21-2018, 01:48 PM   #97
NelsonLinux
Member
 
Registered: May 2018
Location: Nelson, Kootenay Rockies BC, Canada
Distribution: 16.04 LTS
Posts: 53

Original Poster
Rep: Reputation: Disabled
And should I run with sudo the last line of code 1 in post 92 ?
ie 1 package can be upgraded. Run 'apt list --upgradable' to see it.
 
Old 05-21-2018, 01:50 PM   #98
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by NelsonLinux View Post
And should I run with sudo the last line of code 1 in post 92 ?
ie 1 package can be upgraded. Run 'apt list --upgradable' to see it.
You may as well, yes. It's always a good idea to keep your system as up-to-date as possible. Sometimes when you don't keep on top of things (for a long while anyway), there is a greater chance of dependency problems between packages when you finally do try to bring it up to date.
 
Old 05-21-2018, 01:52 PM   #99
NelsonLinux
Member
 
Registered: May 2018
Location: Nelson, Kootenay Rockies BC, Canada
Distribution: 16.04 LTS
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
You may as well, yes. It's always a good idea to keep your system as up-to-date as possible. Sometimes when you don't keep on top of things (for a long while anyway), there is a greater chance of dependency problems between packages when you finally do try to bring it up to date.
I did it without sudo and this came up:

Code:
john@john-HP-Compaq-6200-Pro-SFF-PC:~$ apt list --upgradable
Listing... Done
xdg-utils/xenial-security,xenial-security 1.1.1-1ubuntu1.16.04.3 all [upgradable from: 1.1.1-1ubuntu1.16.04.1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
john@john-HP-Compaq-6200-Pro-SFF-PC:~$
 
Old 05-21-2018, 01:54 PM   #100
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by NelsonLinux View Post
100% complete do you want it copied here?
No need. However you could run inxi and inxi -F on the command line in order to see a short and longer summary of your system. No need to paste that output there, it's just to give you an idea of the sort of information it can generate. inxi is a very useful tool and will help you to provide info for people supporting you.
 
Old 05-21-2018, 01:56 PM   #101
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by NelsonLinux View Post
I did it without sudo and this came up:

Code:
john@john-HP-Compaq-6200-Pro-SFF-PC:~$ apt list --upgradable
Listing... Done
xdg-utils/xenial-security,xenial-security 1.1.1-1ubuntu1.16.04.3 all [upgradable from: 1.1.1-1ubuntu1.16.04.1]
N: There are 2 additional versions. Please use the '-a' switch to see them.
john@john-HP-Compaq-6200-Pro-SFF-PC:~$
Ok. In that case, you didn't need sudo because you're not actually changing any system (root-owned) resources, you're just reading them. Don't worry about the distinction though - it would still have worked with sudo.

You can do the actual upgrade of the package with:

Code:
sudo apt upgrade
 
1 members found this post helpful.
Old 05-21-2018, 01:58 PM   #102
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
I'm off for a while now. I think we're done here anyway. If you have any other questions relating to this issue, please let me know.

Remember that you should start a new thread about the printer issue.

It's been a pleasure chatting with you!
 
Old 05-21-2018, 01:58 PM   #103
NelsonLinux
Member
 
Registered: May 2018
Location: Nelson, Kootenay Rockies BC, Canada
Distribution: 16.04 LTS
Posts: 53

Original Poster
Rep: Reputation: Disabled
Code:
john@john-HP-Compaq-6200-Pro-SFF-PC:~$ sudo apt upgrade
[sudo] password for john: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  xdg-utils
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 59.6 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 xdg-utils all 1.1.1-1ubuntu1.16.04.3 [59.6 kB]
Fetched 59.6 kB in 0s (115 kB/s)   
(Reading database ... 248744 files and directories currently installed.)
Preparing to unpack .../xdg-utils_1.1.1-1ubuntu1.16.04.3_all.deb ...
Unpacking xdg-utils (1.1.1-1ubuntu1.16.04.3) over (1.1.1-1ubuntu1.16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up xdg-utils (1.1.1-1ubuntu1.16.04.3) ...

Last edited by NelsonLinux; 05-21-2018 at 02:00 PM.
 
Old 05-21-2018, 02:02 PM   #104
NelsonLinux
Member
 
Registered: May 2018
Location: Nelson, Kootenay Rockies BC, Canada
Distribution: 16.04 LTS
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
I'm off for a while now. I think we're done here anyway. If you have any other questions relating to this issue, please let me know.

Remember that you should start a new thread about the printer issue.

It's been a pleasure chatting with you!
The pleasure has been mine, thank you.
Do you accept tips/gratuities/donations for your help via Paypal?
 
Old 05-21-2018, 03:16 PM   #105
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by NelsonLinux View Post
The pleasure has been mine, thank you.
Do you accept tips/gratuities/donations for your help via Paypal?
No, not at all, but thank you for the kind thought, NelsonLinux. And thanks for bearing with me, even though it must have been quite confusing at times. In the end though, you took to it like a duck to water.

If you use a particular software package on Linux and you really think that it's useful then you could donate to their project - there are a lot of great developers out there, for most of whom the development and maintenance of their software is a labour of love with no great financial recompense, so the price of a coffee or two does help out.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9 + DHCP - very few forward map updates, lot of reverse updates? rylan76 Linux - Networking 0 11-28-2012 08:44 AM
got a Fedora 9 indication that yum updates were available, but there were no updates landonmkelsey Linux - Software 12 02-08-2009 09:53 AM
LXer: Updates, Beautiful Updates LXer Syndicated Linux News 0 01-28-2008 04:20 PM
yum check-update says no updates when there are updates? MarkEHansen Linux - General 7 12-29-2006 05:16 PM
Locked up during installation of updates. stappa Linux - Newbie 2 05-22-2005 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 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