How to find which “package can be updated”?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following
7 packages can be updated.
4 updates are security updates.
How can I find which packages can be updated? Can I choose if don't wish to update some packages?
updates package-management
add a comment |
I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following
7 packages can be updated.
4 updates are security updates.
How can I find which packages can be updated? Can I choose if don't wish to update some packages?
updates package-management
Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.
– Joshua Pinter
Apr 8 '17 at 21:14
add a comment |
I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following
7 packages can be updated.
4 updates are security updates.
How can I find which packages can be updated? Can I choose if don't wish to update some packages?
updates package-management
I have installed Ubuntu 12.04 on Amazon EC2. Sometimes after connecting with the instance I get the following
7 packages can be updated.
4 updates are security updates.
How can I find which packages can be updated? Can I choose if don't wish to update some packages?
updates package-management
updates package-management
edited Apr 8 '17 at 23:43
Joshua Pinter
1956
1956
asked Nov 24 '12 at 15:27
Gaurav AgarwalGaurav Agarwal
3,443164162
3,443164162
Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.
– Joshua Pinter
Apr 8 '17 at 21:14
add a comment |
Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.
– Joshua Pinter
Apr 8 '17 at 21:14
Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.
– Joshua Pinter
Apr 8 '17 at 21:14
Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.
– Joshua Pinter
Apr 8 '17 at 21:14
add a comment |
4 Answers
4
active
oldest
votes
You can see what updates are available by typing as sudo aptitude
.
For example,
And if you don't want any package to update, then you can lock that package.
- Open a terminal
- Type
sudo -s
and hit enter
Enter your password for sudo
echo libxfont1 hold | dpkg --set-selections
- Replace libxfont1 with the package you want to pin
- Now run
sudo apt-get update
and thensudo apt-get upgrade
.
For more information, check how to pin packages.
add a comment |
To do a simulated update: sudo apt-get -s upgrade
To update only a single package: sudo apt-get upgrade packagename_here
add a comment |
You can hold any certain package, this will keep it at the same version no matter what.
First run sudo -s
, then echo package_name hold | dpkg --set-selections
.
You can then remove the hold with sudo apt-get install package_name
.
Hope that helps.
add a comment |
Please do this
sudo cat /var/lib/update-notifier/updates-available
then check what packages are available for upgrade
apt list --upgradable
then just install what you need from the outcome above
sudo apt-get install PACKAGE_NAME
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f221385%2fhow-to-find-which-package-can-be-updated%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can see what updates are available by typing as sudo aptitude
.
For example,
And if you don't want any package to update, then you can lock that package.
- Open a terminal
- Type
sudo -s
and hit enter
Enter your password for sudo
echo libxfont1 hold | dpkg --set-selections
- Replace libxfont1 with the package you want to pin
- Now run
sudo apt-get update
and thensudo apt-get upgrade
.
For more information, check how to pin packages.
add a comment |
You can see what updates are available by typing as sudo aptitude
.
For example,
And if you don't want any package to update, then you can lock that package.
- Open a terminal
- Type
sudo -s
and hit enter
Enter your password for sudo
echo libxfont1 hold | dpkg --set-selections
- Replace libxfont1 with the package you want to pin
- Now run
sudo apt-get update
and thensudo apt-get upgrade
.
For more information, check how to pin packages.
add a comment |
You can see what updates are available by typing as sudo aptitude
.
For example,
And if you don't want any package to update, then you can lock that package.
- Open a terminal
- Type
sudo -s
and hit enter
Enter your password for sudo
echo libxfont1 hold | dpkg --set-selections
- Replace libxfont1 with the package you want to pin
- Now run
sudo apt-get update
and thensudo apt-get upgrade
.
For more information, check how to pin packages.
You can see what updates are available by typing as sudo aptitude
.
For example,
And if you don't want any package to update, then you can lock that package.
- Open a terminal
- Type
sudo -s
and hit enter
Enter your password for sudo
echo libxfont1 hold | dpkg --set-selections
- Replace libxfont1 with the package you want to pin
- Now run
sudo apt-get update
and thensudo apt-get upgrade
.
For more information, check how to pin packages.
edited Nov 24 '12 at 15:53
jokerdino♦
32.9k21120187
32.9k21120187
answered Nov 24 '12 at 15:40
rɑːdʒɑrɑːdʒɑ
59.2k85218302
59.2k85218302
add a comment |
add a comment |
To do a simulated update: sudo apt-get -s upgrade
To update only a single package: sudo apt-get upgrade packagename_here
add a comment |
To do a simulated update: sudo apt-get -s upgrade
To update only a single package: sudo apt-get upgrade packagename_here
add a comment |
To do a simulated update: sudo apt-get -s upgrade
To update only a single package: sudo apt-get upgrade packagename_here
To do a simulated update: sudo apt-get -s upgrade
To update only a single package: sudo apt-get upgrade packagename_here
answered Nov 24 '12 at 15:32
Dennis KaarsemakerDennis Kaarsemaker
5,8721736
5,8721736
add a comment |
add a comment |
You can hold any certain package, this will keep it at the same version no matter what.
First run sudo -s
, then echo package_name hold | dpkg --set-selections
.
You can then remove the hold with sudo apt-get install package_name
.
Hope that helps.
add a comment |
You can hold any certain package, this will keep it at the same version no matter what.
First run sudo -s
, then echo package_name hold | dpkg --set-selections
.
You can then remove the hold with sudo apt-get install package_name
.
Hope that helps.
add a comment |
You can hold any certain package, this will keep it at the same version no matter what.
First run sudo -s
, then echo package_name hold | dpkg --set-selections
.
You can then remove the hold with sudo apt-get install package_name
.
Hope that helps.
You can hold any certain package, this will keep it at the same version no matter what.
First run sudo -s
, then echo package_name hold | dpkg --set-selections
.
You can then remove the hold with sudo apt-get install package_name
.
Hope that helps.
answered Nov 24 '12 at 15:50
smooth-texansmooth-texan
50225
50225
add a comment |
add a comment |
Please do this
sudo cat /var/lib/update-notifier/updates-available
then check what packages are available for upgrade
apt list --upgradable
then just install what you need from the outcome above
sudo apt-get install PACKAGE_NAME
add a comment |
Please do this
sudo cat /var/lib/update-notifier/updates-available
then check what packages are available for upgrade
apt list --upgradable
then just install what you need from the outcome above
sudo apt-get install PACKAGE_NAME
add a comment |
Please do this
sudo cat /var/lib/update-notifier/updates-available
then check what packages are available for upgrade
apt list --upgradable
then just install what you need from the outcome above
sudo apt-get install PACKAGE_NAME
Please do this
sudo cat /var/lib/update-notifier/updates-available
then check what packages are available for upgrade
apt list --upgradable
then just install what you need from the outcome above
sudo apt-get install PACKAGE_NAME
answered Mar 27 at 3:07
Andres Leon RangelAndres Leon Rangel
112
112
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f221385%2fhow-to-find-which-package-can-be-updated%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Question: how do I see the number of packages that can be updated after I have connected to the server. It pops up when I first connect but how I do I see it afterwards? Thanks.
– Joshua Pinter
Apr 8 '17 at 21:14