Unable to run update manager

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
macwales

Re: Unable to run update manager

Post by macwales »

Put in chmod -v 0755 /home/$mintUpdate

got back:-


chmod: changing permissions of ‘/home/’: Operation not permitted
failed to change mode of ‘/home/’ from 0755 (rwxr-xr-x) to 0755 (rwxr-xr-x)

Cheers

Mac
WharfRat

Re: Unable to run update manager

Post by WharfRat »

macwales wrote:Put in chmod -v 0755 /home/$mintUpdate
Where did you get that from :?: I gave you

Code: Select all

chmod -v 0755 /home/$USER
:?
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to run update manager

Post by Spearmint2 »

just confirming he has the same mintupdate I have.

Code: Select all

mint16@mint16 /var/cache/apt/archives $ ls mintupdate*
mintupdate_4.6.7_all.deb
mint16@mint16 /var/cache/apt/archives $ md5sum mintupdate_4.6.7_all.deb
52f8cabcc83be0ba32fdeb8b7ff2363b  mintupdate_4.6.7_all.deb


This may not be pertinent to current problem, but definitely is important for mintupdate.

Code: Select all

mint16@mint16 /var/cache/apt/archives $ cd /etc/sudoers.d

mint16@mint16 /etc/sudoers.d $ ls
mintupdate  README

mint16@mint16 /etc/sudoers.d $ sudo cat README
[sudo] password for mint16: 

#
# As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on
# installation of the package now includes the directive:
# 
# 	#includedir /etc/sudoers.d
# 
# This will cause sudo to read and parse any files in the /etc/sudoers.d 
# directory that do not end in '~' or contain a '.' character.
# 
# Note that there must be at least one file in the sudoers.d directory (this
# one will do), and all files in this directory should be mode 0440.
# 
# Note also, that because sudoers contents can vary widely, no attempt is 
# made to add this directive to existing sudoers files on upgrade.  Feel free
# to add the above directive to the end of your /etc/sudoers file to enable 
# this functionality for existing installations if you wish!
#
# Finally, please note that using the visudo command is the recommended way
# to update sudoers content, since it protects against many failure modes.
# See the man page for visudo for more information.
#

mint16@mint16 /etc/sudoers.d $ sudo cat mintupdate
# Allow any user to check for new system updates without
# requiring user authentication.

Cmnd_Alias UPDATE = /usr/lib/linuxmint/mintUpdate/checkAPT.py

ALL ALL = NOPASSWD:UPDATE

mint16@mint16 /etc/sudoers.d $ 
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
macwales

Re: Unable to run update manager

Post by macwales »

WharfRat

Hi sorry for my mistake. I had tried a few things following your last post. Now I have put in
chmod -v 0755 /home/$USER
got

mode of ‘/home/xxxx’ retained as 0755 (rwxr-xr-x)

ran 'mintupdate' and got

[Errno 5] Input/output error: '/home/xxxx/.config/linuxmint/mintUpdate.conf'

Put in my user name instead of 'USER' then ran mintupdate and got

[Errno 5] Input/output error: '/home/xxxx/.config/linuxmint/mintUpdate.conf'


Spearmint2

I put in

mint16@mint16 /var/cache/apt/archives $ ls mintupdate*
mintupdate_4.6.7_all.deb
mint16@mint16 /var/cache/apt/archives $ md5sum mintupdate_4.6.7_all.deb
52f8cabcc83be0ba32fdeb8b7ff2363b mintupdate_4.6.7_all.deb

got back

xxxx@Whitebook ~ $ mint16@mint16 /var/cache/apt/archives $ ls mintupdate*
mint16@mint16: command not found
xxxx@Whitebook ~ $ mintupdate_4.6.7_all.deb
mintupdate_4.6.7_all.deb: command not found
xxxx@Whitebook ~ $ mint16@mint16 /var/cache/apt/archives $ md5sum mintupdate_4.6.7_all.deb
mint16@mint16: command not found
xxxx@Whitebook ~ $ 52f8cabcc83be0ba32fdeb8b7ff2363b mintupdate_4.6.7_all.

then put in

mint16@mint16 /var/cache/apt/archives $ cd /etc/sudoers.d

mint16@mint16 /etc/sudoers.d $ ls
mintupdate README

mint16@mint16 /etc/sudoers.d $ sudo cat README
[sudo] password for mint16:

#
# As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on
# installation of the package now includes the directive:
#
# #includedir /etc/sudoers.d

got

xxxx@Whitebook ~ $ mint16@mint16 /var/cache/apt/archives $ cd /etc/sudoers.d
mint16@mint16: command not found
xxxx@Whitebook ~ $
xxxx@Whitebook ~ $ mint16@mint16 /etc/sudoers.d $ ls
mint16@mint16: command not found
xxxx@Whitebook ~ $ mintupdate README
xxxx@Whitebook ~ $
xxxx@Whitebook ~ $ mint16@mint16 /etc/sudoers.d $ sudo cat README
[Errno 5] Input/output error: '/home/xxxx/.config/linuxmint/mintUpdate.conf'
mint16@mint16: command not found
xxxx@Whitebook ~ $ [sudo] password for mint16:
[sudo]: command not found
xxxx@Whitebook ~ $
xxxx@Whitebook ~ $ #
xxxx@Whitebook ~ $ # As of Debian version 1.7.2p1-1, the default /etc/sudoers file created on
xxxx@Whitebook ~ $ # installation of the package now includes the directive:
xxxx@Whitebook ~ $ #
xxxx@Whitebook ~ $ # #includedir /etc/sudoers.

Cheers
Mac
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Unable to run update manager

Post by Spearmint2 »

why did you do that? I didn't say to put in terminal and try to run it. I was showing you what I did in terminal. Maybe we should start using something other than a code box to show that if people are going to think it's something they need to run instead? Thankfully no harm was done by it. Furthermore it was intended for Wharfrat, wish now I'd made that clearer.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Locked

Return to “Beginner Questions”