how to upgrade a single package in debian
Clash Royale CLAN TAG#URR8PPP
up vote
5
down vote
favorite
I'm currently running debian 8 and I want to upgrade security patches which is provided by debian but problem is that, if I upgrade a single package then it asks to upgrade many packages, as in:
$ apt-get upgrade openssl
The following packages will be upgraded:
dpkg dpkg-dev krb5-locales libapache2-mod-php5 libdpkg-perl libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2
libk5crypto3 libkrb5-3 libkrb5support0 libpng12-0 libssl1.0.0 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
linux-image-3.2.0-4-amd64 linux-libc-dev ntp php5 php5-cli php5-common php5- curl php5-readline tzdata unzip virtualbox virtualbox-dkms
virtualbox-qt....too many
The following packages have been kept back:
acpid anacron apt-xapian-index aptitude aptitude-common aspell-de at at- spi2-core avahi-daemon base-passwd bind9-host binfmt-support
bsdutils consolekit cron cryptsetup-bin db5.1-util dbus default-jre default- jre-headless dictionaries-common dmsetup dnsmasq-base
dnsutils dovecot-core dovecot-imapd dovecot-pop3d duplicity fakeroot gdebi- core gettext gir1.2-accountsservice-1.0 gir1.2-atspi-2.0
gir1.2-folks-0.6 gir1.2-gck-1 gir1 ....too many
How to skip the above packages?
debian ubuntu apt package-management
add a comment |Â
up vote
5
down vote
favorite
I'm currently running debian 8 and I want to upgrade security patches which is provided by debian but problem is that, if I upgrade a single package then it asks to upgrade many packages, as in:
$ apt-get upgrade openssl
The following packages will be upgraded:
dpkg dpkg-dev krb5-locales libapache2-mod-php5 libdpkg-perl libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2
libk5crypto3 libkrb5-3 libkrb5support0 libpng12-0 libssl1.0.0 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
linux-image-3.2.0-4-amd64 linux-libc-dev ntp php5 php5-cli php5-common php5- curl php5-readline tzdata unzip virtualbox virtualbox-dkms
virtualbox-qt....too many
The following packages have been kept back:
acpid anacron apt-xapian-index aptitude aptitude-common aspell-de at at- spi2-core avahi-daemon base-passwd bind9-host binfmt-support
bsdutils consolekit cron cryptsetup-bin db5.1-util dbus default-jre default- jre-headless dictionaries-common dmsetup dnsmasq-base
dnsutils dovecot-core dovecot-imapd dovecot-pop3d duplicity fakeroot gdebi- core gettext gir1.2-accountsservice-1.0 gir1.2-atspi-2.0
gir1.2-folks-0.6 gir1.2-gck-1 gir1 ....too many
How to skip the above packages?
debian ubuntu apt package-management
3
If you're running Debian 8 you should really upgrade all those other packages too; the stable distribution has very strict conditions for updates, so if a package upgrade is available there's generally a very good reason for it.
â Stephen Kitt
Dec 16 '15 at 9:29
add a comment |Â
up vote
5
down vote
favorite
up vote
5
down vote
favorite
I'm currently running debian 8 and I want to upgrade security patches which is provided by debian but problem is that, if I upgrade a single package then it asks to upgrade many packages, as in:
$ apt-get upgrade openssl
The following packages will be upgraded:
dpkg dpkg-dev krb5-locales libapache2-mod-php5 libdpkg-perl libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2
libk5crypto3 libkrb5-3 libkrb5support0 libpng12-0 libssl1.0.0 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
linux-image-3.2.0-4-amd64 linux-libc-dev ntp php5 php5-cli php5-common php5- curl php5-readline tzdata unzip virtualbox virtualbox-dkms
virtualbox-qt....too many
The following packages have been kept back:
acpid anacron apt-xapian-index aptitude aptitude-common aspell-de at at- spi2-core avahi-daemon base-passwd bind9-host binfmt-support
bsdutils consolekit cron cryptsetup-bin db5.1-util dbus default-jre default- jre-headless dictionaries-common dmsetup dnsmasq-base
dnsutils dovecot-core dovecot-imapd dovecot-pop3d duplicity fakeroot gdebi- core gettext gir1.2-accountsservice-1.0 gir1.2-atspi-2.0
gir1.2-folks-0.6 gir1.2-gck-1 gir1 ....too many
How to skip the above packages?
debian ubuntu apt package-management
I'm currently running debian 8 and I want to upgrade security patches which is provided by debian but problem is that, if I upgrade a single package then it asks to upgrade many packages, as in:
$ apt-get upgrade openssl
The following packages will be upgraded:
dpkg dpkg-dev krb5-locales libapache2-mod-php5 libdpkg-perl libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2
libk5crypto3 libkrb5-3 libkrb5support0 libpng12-0 libssl1.0.0 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
linux-image-3.2.0-4-amd64 linux-libc-dev ntp php5 php5-cli php5-common php5- curl php5-readline tzdata unzip virtualbox virtualbox-dkms
virtualbox-qt....too many
The following packages have been kept back:
acpid anacron apt-xapian-index aptitude aptitude-common aspell-de at at- spi2-core avahi-daemon base-passwd bind9-host binfmt-support
bsdutils consolekit cron cryptsetup-bin db5.1-util dbus default-jre default- jre-headless dictionaries-common dmsetup dnsmasq-base
dnsutils dovecot-core dovecot-imapd dovecot-pop3d duplicity fakeroot gdebi- core gettext gir1.2-accountsservice-1.0 gir1.2-atspi-2.0
gir1.2-folks-0.6 gir1.2-gck-1 gir1 ....too many
How to skip the above packages?
debian ubuntu apt package-management
debian ubuntu apt package-management
edited Dec 28 '15 at 13:28
Rui F Ribeiro
37k1273117
37k1273117
asked Dec 16 '15 at 9:07
Nullpointer
2501315
2501315
3
If you're running Debian 8 you should really upgrade all those other packages too; the stable distribution has very strict conditions for updates, so if a package upgrade is available there's generally a very good reason for it.
â Stephen Kitt
Dec 16 '15 at 9:29
add a comment |Â
3
If you're running Debian 8 you should really upgrade all those other packages too; the stable distribution has very strict conditions for updates, so if a package upgrade is available there's generally a very good reason for it.
â Stephen Kitt
Dec 16 '15 at 9:29
3
3
If you're running Debian 8 you should really upgrade all those other packages too; the stable distribution has very strict conditions for updates, so if a package upgrade is available there's generally a very good reason for it.
â Stephen Kitt
Dec 16 '15 at 9:29
If you're running Debian 8 you should really upgrade all those other packages too; the stable distribution has very strict conditions for updates, so if a package upgrade is available there's generally a very good reason for it.
â Stephen Kitt
Dec 16 '15 at 9:29
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
12
down vote
You have to use
sudo apt-get --only-upgrade install openssl
this will upgrade only openssl package and, eventually, the dependencies.
I execute this command: Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
â Nullpointer
Dec 16 '15 at 9:18
If you want to upgrade the OpenSSL packages, you're looking forlibssl1.0.0
:sudo apt-get --only-upgrade install libssl1.0.0
.
â Stephen Kitt
Dec 16 '15 at 9:30
You can check versions withapt-cache policy opnessl libssl1.0.0
â paul
Dec 16 '15 at 9:43
I check current version of OpenSSL 1.0.1e 11 Feb 2013 after the upgrading above command.
â Nullpointer
Dec 17 '15 at 5:02
The problem with this is that it also marks the package as being manually installed. I know I can reset it withapt-mark
, but I do wonder if there's a way to avoid that little extra trouble.
â Dolda2000
Feb 11 at 13:39
add a comment |Â
up vote
1
down vote
The problem you're having is that apt-get upgrade
upgrades all packages installed on your system. The extra package name you're specifying is not used.
You should use apt-get install openssl
if you only want to upgrade that one package. Some other packages may be upgraded at the same time if the new version of the specified package depends on newer versions of those other packages.
problem is that, it's too many dependency of openssl like kernel, php, mysql, ever virtual box, many libs and it's effect to many existing applications. total download site is more then 400mb, please give my option.
â Nullpointer
Dec 17 '15 at 4:47
add a comment |Â
up vote
0
down vote
Install aptitude. Use its intuitive UI to make individual actions. That helps you to find the correct balance if you certainly need to break some dependency or downgrade some of the packages.
For example, if you mark that package for removal, it can list all the packages that get affected, and there you can browse through (using comma and period) all the automatic suggestions, including the one for upgrading just that one.
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
12
down vote
You have to use
sudo apt-get --only-upgrade install openssl
this will upgrade only openssl package and, eventually, the dependencies.
I execute this command: Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
â Nullpointer
Dec 16 '15 at 9:18
If you want to upgrade the OpenSSL packages, you're looking forlibssl1.0.0
:sudo apt-get --only-upgrade install libssl1.0.0
.
â Stephen Kitt
Dec 16 '15 at 9:30
You can check versions withapt-cache policy opnessl libssl1.0.0
â paul
Dec 16 '15 at 9:43
I check current version of OpenSSL 1.0.1e 11 Feb 2013 after the upgrading above command.
â Nullpointer
Dec 17 '15 at 5:02
The problem with this is that it also marks the package as being manually installed. I know I can reset it withapt-mark
, but I do wonder if there's a way to avoid that little extra trouble.
â Dolda2000
Feb 11 at 13:39
add a comment |Â
up vote
12
down vote
You have to use
sudo apt-get --only-upgrade install openssl
this will upgrade only openssl package and, eventually, the dependencies.
I execute this command: Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
â Nullpointer
Dec 16 '15 at 9:18
If you want to upgrade the OpenSSL packages, you're looking forlibssl1.0.0
:sudo apt-get --only-upgrade install libssl1.0.0
.
â Stephen Kitt
Dec 16 '15 at 9:30
You can check versions withapt-cache policy opnessl libssl1.0.0
â paul
Dec 16 '15 at 9:43
I check current version of OpenSSL 1.0.1e 11 Feb 2013 after the upgrading above command.
â Nullpointer
Dec 17 '15 at 5:02
The problem with this is that it also marks the package as being manually installed. I know I can reset it withapt-mark
, but I do wonder if there's a way to avoid that little extra trouble.
â Dolda2000
Feb 11 at 13:39
add a comment |Â
up vote
12
down vote
up vote
12
down vote
You have to use
sudo apt-get --only-upgrade install openssl
this will upgrade only openssl package and, eventually, the dependencies.
You have to use
sudo apt-get --only-upgrade install openssl
this will upgrade only openssl package and, eventually, the dependencies.
answered Dec 16 '15 at 9:10
LilloX
948211
948211
I execute this command: Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
â Nullpointer
Dec 16 '15 at 9:18
If you want to upgrade the OpenSSL packages, you're looking forlibssl1.0.0
:sudo apt-get --only-upgrade install libssl1.0.0
.
â Stephen Kitt
Dec 16 '15 at 9:30
You can check versions withapt-cache policy opnessl libssl1.0.0
â paul
Dec 16 '15 at 9:43
I check current version of OpenSSL 1.0.1e 11 Feb 2013 after the upgrading above command.
â Nullpointer
Dec 17 '15 at 5:02
The problem with this is that it also marks the package as being manually installed. I know I can reset it withapt-mark
, but I do wonder if there's a way to avoid that little extra trouble.
â Dolda2000
Feb 11 at 13:39
add a comment |Â
I execute this command: Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
â Nullpointer
Dec 16 '15 at 9:18
If you want to upgrade the OpenSSL packages, you're looking forlibssl1.0.0
:sudo apt-get --only-upgrade install libssl1.0.0
.
â Stephen Kitt
Dec 16 '15 at 9:30
You can check versions withapt-cache policy opnessl libssl1.0.0
â paul
Dec 16 '15 at 9:43
I check current version of OpenSSL 1.0.1e 11 Feb 2013 after the upgrading above command.
â Nullpointer
Dec 17 '15 at 5:02
The problem with this is that it also marks the package as being manually installed. I know I can reset it withapt-mark
, but I do wonder if there's a way to avoid that little extra trouble.
â Dolda2000
Feb 11 at 13:39
I execute this command: Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
â Nullpointer
Dec 16 '15 at 9:18
I execute this command: Reading package lists... Done Building dependency tree Reading state information... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
â Nullpointer
Dec 16 '15 at 9:18
If you want to upgrade the OpenSSL packages, you're looking for
libssl1.0.0
: sudo apt-get --only-upgrade install libssl1.0.0
.â Stephen Kitt
Dec 16 '15 at 9:30
If you want to upgrade the OpenSSL packages, you're looking for
libssl1.0.0
: sudo apt-get --only-upgrade install libssl1.0.0
.â Stephen Kitt
Dec 16 '15 at 9:30
You can check versions with
apt-cache policy opnessl libssl1.0.0
â paul
Dec 16 '15 at 9:43
You can check versions with
apt-cache policy opnessl libssl1.0.0
â paul
Dec 16 '15 at 9:43
I check current version of OpenSSL 1.0.1e 11 Feb 2013 after the upgrading above command.
â Nullpointer
Dec 17 '15 at 5:02
I check current version of OpenSSL 1.0.1e 11 Feb 2013 after the upgrading above command.
â Nullpointer
Dec 17 '15 at 5:02
The problem with this is that it also marks the package as being manually installed. I know I can reset it with
apt-mark
, but I do wonder if there's a way to avoid that little extra trouble.â Dolda2000
Feb 11 at 13:39
The problem with this is that it also marks the package as being manually installed. I know I can reset it with
apt-mark
, but I do wonder if there's a way to avoid that little extra trouble.â Dolda2000
Feb 11 at 13:39
add a comment |Â
up vote
1
down vote
The problem you're having is that apt-get upgrade
upgrades all packages installed on your system. The extra package name you're specifying is not used.
You should use apt-get install openssl
if you only want to upgrade that one package. Some other packages may be upgraded at the same time if the new version of the specified package depends on newer versions of those other packages.
problem is that, it's too many dependency of openssl like kernel, php, mysql, ever virtual box, many libs and it's effect to many existing applications. total download site is more then 400mb, please give my option.
â Nullpointer
Dec 17 '15 at 4:47
add a comment |Â
up vote
1
down vote
The problem you're having is that apt-get upgrade
upgrades all packages installed on your system. The extra package name you're specifying is not used.
You should use apt-get install openssl
if you only want to upgrade that one package. Some other packages may be upgraded at the same time if the new version of the specified package depends on newer versions of those other packages.
problem is that, it's too many dependency of openssl like kernel, php, mysql, ever virtual box, many libs and it's effect to many existing applications. total download site is more then 400mb, please give my option.
â Nullpointer
Dec 17 '15 at 4:47
add a comment |Â
up vote
1
down vote
up vote
1
down vote
The problem you're having is that apt-get upgrade
upgrades all packages installed on your system. The extra package name you're specifying is not used.
You should use apt-get install openssl
if you only want to upgrade that one package. Some other packages may be upgraded at the same time if the new version of the specified package depends on newer versions of those other packages.
The problem you're having is that apt-get upgrade
upgrades all packages installed on your system. The extra package name you're specifying is not used.
You should use apt-get install openssl
if you only want to upgrade that one package. Some other packages may be upgraded at the same time if the new version of the specified package depends on newer versions of those other packages.
answered Dec 16 '15 at 10:50
wurtel
9,47511324
9,47511324
problem is that, it's too many dependency of openssl like kernel, php, mysql, ever virtual box, many libs and it's effect to many existing applications. total download site is more then 400mb, please give my option.
â Nullpointer
Dec 17 '15 at 4:47
add a comment |Â
problem is that, it's too many dependency of openssl like kernel, php, mysql, ever virtual box, many libs and it's effect to many existing applications. total download site is more then 400mb, please give my option.
â Nullpointer
Dec 17 '15 at 4:47
problem is that, it's too many dependency of openssl like kernel, php, mysql, ever virtual box, many libs and it's effect to many existing applications. total download site is more then 400mb, please give my option.
â Nullpointer
Dec 17 '15 at 4:47
problem is that, it's too many dependency of openssl like kernel, php, mysql, ever virtual box, many libs and it's effect to many existing applications. total download site is more then 400mb, please give my option.
â Nullpointer
Dec 17 '15 at 4:47
add a comment |Â
up vote
0
down vote
Install aptitude. Use its intuitive UI to make individual actions. That helps you to find the correct balance if you certainly need to break some dependency or downgrade some of the packages.
For example, if you mark that package for removal, it can list all the packages that get affected, and there you can browse through (using comma and period) all the automatic suggestions, including the one for upgrading just that one.
add a comment |Â
up vote
0
down vote
Install aptitude. Use its intuitive UI to make individual actions. That helps you to find the correct balance if you certainly need to break some dependency or downgrade some of the packages.
For example, if you mark that package for removal, it can list all the packages that get affected, and there you can browse through (using comma and period) all the automatic suggestions, including the one for upgrading just that one.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Install aptitude. Use its intuitive UI to make individual actions. That helps you to find the correct balance if you certainly need to break some dependency or downgrade some of the packages.
For example, if you mark that package for removal, it can list all the packages that get affected, and there you can browse through (using comma and period) all the automatic suggestions, including the one for upgrading just that one.
Install aptitude. Use its intuitive UI to make individual actions. That helps you to find the correct balance if you certainly need to break some dependency or downgrade some of the packages.
For example, if you mark that package for removal, it can list all the packages that get affected, and there you can browse through (using comma and period) all the automatic suggestions, including the one for upgrading just that one.
answered yesterday
Ville Laitila
1112
1112
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f249674%2fhow-to-upgrade-a-single-package-in-debian%23new-answer', 'question_page');
);
Post as a guest
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
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
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
3
If you're running Debian 8 you should really upgrade all those other packages too; the stable distribution has very strict conditions for updates, so if a package upgrade is available there's generally a very good reason for it.
â Stephen Kitt
Dec 16 '15 at 9:29