Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-25-2015, 02:44 AM   #1
Registered: Sep 2014
Posts: 72

Rep: Reputation: Disabled
Stopping application from being upgraded

Good day. I know the commands
sudo apt-mark hold package_name
is used to prevent applications from being upgraded. But what do you use for applications that were manually installed and not from the repository?

Old 05-25-2015, 03:31 AM   #2
Registered: Jun 2010
Location: Slovakia
Distribution: Debian 8, Ubuntu 10.04 and 12.04; SLAX 6.0; ConnochaetOS 0.9.; LFS; Natty chip: VT1708S
Posts: 93
Blog Entries: 2

Rep: Reputation: 7
Dear Jobart08,
are manually installed apllication automatically being upgraded also?
give us an example, please
Old 05-25-2015, 05:36 AM   #3
Senior Member
Registered: Dec 2014
Location: London, England
Distribution: Arch & Debian
Posts: 1,183

Rep: Reputation: 283Reputation: 283Reputation: 283
APT will not upgrade packages that were installed manually.
1 members found this post helpful.
Old 05-27-2015, 03:10 AM   #4
Registered: Sep 2014
Posts: 72

Original Poster
Rep: Reputation: Disabled
we're doing an OS upgrade btw. will the manually installed apps be updated too? thanks
Old 05-27-2015, 04:11 AM   #5
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,144
Blog Entries: 2

Rep: Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846Reputation: 4846
The package manager will only upgrade those packages that it is aware of (so no source compiled and manually installed software) and that has a newer package version available in the repositories.
You may possibly have to recompile your manually installed software if the libraries it depends on (if any) are updated, though.
Old 05-27-2015, 07:51 AM   #6
LQ 5k Club
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: OSX Sierra
Posts: 8,570
Blog Entries: 14

Rep: Reputation: Disabled
Originally Posted by jobart08 View Post
will the manually installed apps be updated too? thanks


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
LXer: Ubuntu desktop moving application menus back into application windows LXer Syndicated Linux News 0 02-21-2014 07:31 AM
JBOSS - starting and stopping individual application on linux jags1984 Linux - Newbie 5 05-15-2013 03:40 AM
[SOLVED] keyboard stopped working in X when I upgraded udev from 1.75 to 1.82After I upgraded RandomTroll Slackware 3 07-26-2012 02:48 PM
updating device driver without killing/stopping application ashok449 Linux - Kernel 2 07-11-2011 12:45 AM
KDE jar MIME is application/zip and not application/java-archive in Ubuntu Intrepid? arobinson74 Linux - Software 2 09-18-2009 11:40 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration