LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 10-05-2014, 02:55 PM   #1
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 21.1 Cinnamon
Posts: 188

Rep: Reputation: 15
Question script worked in earlier version but not Mint 17?


Hello all.

I had made a script to autoinstall updates via cron.

It worked both in earlier versions of LinuxMint and Ubuntu, but not in Linux Mint 17 Cinnamon??

The script is this:
Quote:
#!/bin/bash
sudo aptitude update -y
sudo aptitude safe-upgrade -y
sudo dpkg --configure -a
sudo aptitude autoclean
Any ideas that might be wrong?

Regards

John Poulsen
 
Old 10-05-2014, 03:40 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Any error messages?

Kind regards
 
Old 10-05-2014, 06:06 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
My first thought is you are not in the sudoers list?
 
Old 10-06-2014, 03:15 PM   #4
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 21.1 Cinnamon
Posts: 188

Original Poster
Rep: Reputation: 15
I have read about sudoers list and I think that is the problem, but found only info for Debian. What to do?(which file to enter what?)
I know the root/sudo difference between Debian and Ubuntu/Linux Mint.

Regards

John Poulsen
 
Old 10-06-2014, 03:32 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://community.linuxmint.com/tutorial/view/160
 
Old 10-07-2014, 03:50 AM   #6
stardustdk
Member
 
Registered: Mar 2006
Distribution: Linuxmint 21.1 Cinnamon
Posts: 188

Original Poster
Rep: Reputation: 15
Thanks for for all info

Regards

John Poulsen
 
Old 05-11-2015, 03:58 AM   #7
shockingbehavur
LQ Newbie
 
Registered: May 2015
Posts: 17

Rep: Reputation: 0
script worked in earlier version but not Mint 17?

adduser <username> sudoers i think it is some rascal using my computer right now so its probably sudo or sudoers the group
 
  


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
Truecrypt won't install properly when it has worked in the past (v 7.0 & earlier) giddyup306 Linux - Newbie 3 07-29-2014 06:13 PM
how to install an earlier version of wine? sirius57 Linux - Software 4 03-05-2012 08:10 PM
using an earlier version of a package radiodee1 Debian 0 01-08-2008 05:45 PM
Revert glibc to a earlier version wanna13e Linux - Enterprise 9 06-13-2006 02:24 AM
How to revert to earlier version of gcc and c++... vbtalent Debian 4 02-22-2006 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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