Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Update via terminal?
Update via terminal?
Does Debian 8 have a Software Updater or is the appropriate way to update via terminal?
Thanks for the information.
Thanks for the information.
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: Update via terminal?
Normally "synaptic package manager" is installed by default, it is in the menu, "system" "administration" It will ask you to enter your password before you can use it, if your "user" password does not work, the root password will.
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Update via terminal?
The old updater had gone, it has been replaced with the GNOME equivalent.joemartin wrote:Does Debian 8 have a Software Updater
https://packages.debian.org/jessie/gnome-packagekit
This is based on patchy memory of other posts on this issue so I may be wrong here.
At any rate, I also advise performing updates from the command line as much more information is provided that way.
deadbang
Re: Update via terminal?
Does it perform the flashplayer update ? Most of people I know are addicted to this thing :s
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Update via terminal?
I don't know, I never use GUIs for package management.otyugh wrote:Does it perform the flashplayer update ?
To update FlashPlayer, use:
Code: Select all
# update-flashplugin-nonfree --install
It may be worth making this a daily cron job to ensure automatic updates of such a vulnerable piece of software.
Guide here:
http://crunchbang.org/forums/viewtopic.php?pid=367732
deadbang
Re: Update via terminal?
If you are running testing or sid, smxi is an excellent way to keep your PC updated and also fix and install other apps. It can be found herehttp://smxi.org/site/install.htm. Just follow directions and use ctrl+alt+F1. You will need an administrators password. This is how I keep all my sid installs updated. Thanks-zephyr
ZephyrLinux
Re: Update via terminal?
How to update your system?
You could set up a cron job or anacron job to run this command (customised, along with -y option, for example) automatically and, mailing some user or saving the logs with the result. https://wiki.debian.org/CronAnacronAtBatchSchedulers
I normally update manually with command when the computer starts and periodically. This is because it is a personal computer and I'm not that worried in keeping my system up to date, since I'm not offering any services, but in a server I would advise to create a custom cron job.
Code: Select all
# apt-get update && apt-get upgrade
I normally update manually with command when the computer starts and periodically. This is because it is a personal computer and I'm not that worried in keeping my system up to date, since I'm not offering any services, but in a server I would advise to create a custom cron job.
- vinnywright
- Posts: 22
- Joined: 2015-06-07 20:40
Re: Update via terminal?
I prefer to use the "dist-upgrade" option ,,,, like
"dist-upgrade" will allow for removing and replacing with a new ver. "upgrade" will not .
so lets say " package-X-ver-1 " gets upgraded to ver-2 ,,,,,,,,, "upgrade" will only install updates to ver-1 and will not remove ver-1 for ver-2 ,,,,,,,,,"dist-upgrade" will remove ver-1 and move you to ver-2 and whatever depends as well.
VINNY
Code: Select all
sudo apt-get update && sudo apt-get dist-upgrade
so lets say " package-X-ver-1 " gets upgraded to ver-2 ,,,,,,,,, "upgrade" will only install updates to ver-1 and will not remove ver-1 for ver-2 ,,,,,,,,,"dist-upgrade" will remove ver-1 and move you to ver-2 and whatever depends as well.
VINNY
system76 Bonox8
i7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
i7 4core HT 8MB L3 2.9GHz
16GB RAM
Nvidia GTX 860M 4GB RAM 1152 cuda cores
Re: Update via terminal?
With Testing and Sid, but not with Stable, since Stable does not receive newer packages. I assume someone asking how to install updates is using Stable. Hopefully the OP will not be confused.vinnywright wrote:"dist-upgrade" will allow for removing and replacing with a new ver. "upgrade" will not .
Re: Update via terminal?
Debian shold still have the 'auto-update' feature (I dont use it).Head_on_a_Stick wrote:The old updater had gone, it has been replaced with the GNOME equivalent.joemartin wrote:Does Debian 8 have a Software Updater
https://packages.debian.org/jessie/gnome-packagekit
This is based on patchy memory of other posts on this issue so I may be wrong here.
At any rate, I also advise performing updates from the command line as much more information is provided that way.
For Stable where there are normally only modest amount of packages, the command line is probably simplest if not autoupdating.
But for a flood of packages, as in a dist-upgrade or testing updates, personally I find Synaptic preferable. It will let you know if packages are trying to delete key programs. or create dependency problems. Often, after installing around the problem files, the dependency problems fix themselves. Also synaptic has the option to 'fix broken packages' that often resolves dependency problems.
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: Update via terminal?
Is the option different from "apt-get install -f"?millpond wrote:Also synaptic has the option to 'fix broken packages' that often resolves dependency problems.
$ man apt-get
gives:
I also often use-f, --fix-broken
Fix; attempt to correct a system with broken dependencies in place.
This option, when used with install/remove, can omit any packages
to permit APT to deduce a likely solution. If packages are
specified, these have to completely correct the problem. The option
is sometimes necessary when running APT for the first time; APT
itself does not allow broken package dependencies to exist on a
system. It is possible that a system's dependency structure can be
so corrupt as to require manual intervention (which usually means
using dpkg --remove to eliminate some of the offending packages).
Use of this option together with -m may produce an error in some
situations. Configuration Item: APT::Get::Fix-Broken.
Code: Select all
dpkg --configure -a
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: Update via terminal?
Does it mean that "apt-get dist-upgrade" is useless on stable?Randicus wrote:With Testing and Sid, but not with Stable, since Stable does not receive newer packages.vinnywright wrote:"dist-upgrade" will allow for removing and replacing with a new ver. "upgrade" will not .
I know that stable does not install newer version of packages.
Reminder for myself:
https://www.debian.org/doc/manuals/apt- ... #s-upgrade
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/