New package vs new version?What is “dist-upgrade” and why does it upgrade more than “upgrade”?I...
A Missing Symbol for This Logo
                
                    Which communication protocol is used in AdLib sound card?
                
                    Is a new boolean field better than null reference when a value can be meaningfully absent?
                
                    Do authors have to be politically correct in article-writing?
                
                    Why avoid shared user accounts?
                
                    Can I announce prefix 161.117.25.0/24 even though I don't have all of /24 IPs?
                
                    How do I draw the dashed lines as shown in this figure
                
                    Can you tell from a blurry photo if focus was too close or too far?
                
                    Why do neural networks need so many training examples to perform?
                
                    Python Pandas - difference between 'loc' and 'where'?
                
                    Why are all my replica super soldiers young adults or old teenagers?
                
                    Is it possible to grant users sftp access without shell access? If yes, how is it implemented?
                
                    How do I append a character to the end of every line in an Excel cell?
                
                    Crontab: Ubuntu running script (noob)
                
                    When can a QA tester start his job?
                
                    Is this ordinary workplace experiences for a job in Software Engineering?
                
                    What happens when a creature with flying blocks my non-flying attacker?
                
                    Why exactly do action photographers need high fps burst cameras?
                
                    Constexpr if with a non-bool condition
                
                    Picture with grey box as background
                
                    Alien invasion to probe us, why?
                
                    Do "fields" always combine by addition?
                
                    A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?
                
                    Why did Luke use his left hand to shoot?
New package vs new version?
What is “dist-upgrade” and why does it upgrade more than “upgrade”?I installed the kernel 3.1.2-030102-generic and the update manager proposes me to install the 3.0.0-14 kernelHow to update kernel to the latest mainline version without any Distro-upgrade?Difference between the host and the guest OS kernel versionsHow do I get the real package name and version for a pseudo package?What happens to a .deb installed package with a Ubuntu version update that includes the same package?Skip updating certain updates in apt-getIs “upgrade --with-new-pkgs” safer than “dist-upgrade”?Unnecessary download when upgrading to 16.10How to I prevent Ubuntu from kernel version upgrade and notification?Avoid Ubuntu kernel Upgrade
In the question What is “dist-upgrade” and why does it upgrade more than “upgrade”? the accepted answer explains that linux-headers-3.0.0-13 is a new package replacing linux-headers-3.0.0-12.
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Further, why is linux-headers-3.0.0-13 listed in the output of the command sudo apt-get upgrade if it is a new package and not a new version of an already installed package?
The answer hints at the argument that it is because linux-headers-3.0.0-12 and linux-headers-3.0.0-13 are connected to the same virtual package ("linux-headers is a virtual package that is provided by both linux-headers-3.0.0-12 and linux-headers-3.0.0-13"). Is it for this reason that linux-headers-3.0.0-13 is listed? And if so, why don't we see other packages provided by other virtual packages suggested as upgrades?
EDIT:
Although the example above concerns kernel packages, my question is not kernel-oriented but more general; or is it of kernel-only relevance?
apt package-management upgrade kernel updates
add a comment |
In the question What is “dist-upgrade” and why does it upgrade more than “upgrade”? the accepted answer explains that linux-headers-3.0.0-13 is a new package replacing linux-headers-3.0.0-12.
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Further, why is linux-headers-3.0.0-13 listed in the output of the command sudo apt-get upgrade if it is a new package and not a new version of an already installed package?
The answer hints at the argument that it is because linux-headers-3.0.0-12 and linux-headers-3.0.0-13 are connected to the same virtual package ("linux-headers is a virtual package that is provided by both linux-headers-3.0.0-12 and linux-headers-3.0.0-13"). Is it for this reason that linux-headers-3.0.0-13 is listed? And if so, why don't we see other packages provided by other virtual packages suggested as upgrades?
EDIT:
Although the example above concerns kernel packages, my question is not kernel-oriented but more general; or is it of kernel-only relevance?
apt package-management upgrade kernel updates
 
 
 
 
 
 
 
 dist-upgrade: in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages, it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
 
 – cmak.fr
 5 hours ago
 
 
 
add a comment |
In the question What is “dist-upgrade” and why does it upgrade more than “upgrade”? the accepted answer explains that linux-headers-3.0.0-13 is a new package replacing linux-headers-3.0.0-12.
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Further, why is linux-headers-3.0.0-13 listed in the output of the command sudo apt-get upgrade if it is a new package and not a new version of an already installed package?
The answer hints at the argument that it is because linux-headers-3.0.0-12 and linux-headers-3.0.0-13 are connected to the same virtual package ("linux-headers is a virtual package that is provided by both linux-headers-3.0.0-12 and linux-headers-3.0.0-13"). Is it for this reason that linux-headers-3.0.0-13 is listed? And if so, why don't we see other packages provided by other virtual packages suggested as upgrades?
EDIT:
Although the example above concerns kernel packages, my question is not kernel-oriented but more general; or is it of kernel-only relevance?
apt package-management upgrade kernel updates
In the question What is “dist-upgrade” and why does it upgrade more than “upgrade”? the accepted answer explains that linux-headers-3.0.0-13 is a new package replacing linux-headers-3.0.0-12.
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Further, why is linux-headers-3.0.0-13 listed in the output of the command sudo apt-get upgrade if it is a new package and not a new version of an already installed package?
The answer hints at the argument that it is because linux-headers-3.0.0-12 and linux-headers-3.0.0-13 are connected to the same virtual package ("linux-headers is a virtual package that is provided by both linux-headers-3.0.0-12 and linux-headers-3.0.0-13"). Is it for this reason that linux-headers-3.0.0-13 is listed? And if so, why don't we see other packages provided by other virtual packages suggested as upgrades?
EDIT:
Although the example above concerns kernel packages, my question is not kernel-oriented but more general; or is it of kernel-only relevance?
apt package-management upgrade kernel updates
apt package-management upgrade kernel updates
edited 5 hours ago
The Quark
asked 6 hours ago
The QuarkThe Quark
415
415
 
 
 
 
 
 
 
 dist-upgrade: in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages, it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
 
 – cmak.fr
 5 hours ago
 
 
 
add a comment |
 
 
 
 
 
 
 
 dist-upgrade: in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages, it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
 
 – cmak.fr
 5 hours ago
 
 
 
dist-upgrade: in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages, it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
– cmak.fr
5 hours ago
dist-upgrade: in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages, it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
– cmak.fr
5 hours ago
add a comment |
                                2 Answers
                            2
                        
active
oldest
votes
The reason of having kernel meta-packages like linux-image-generic and linux-headers-generic pointing to real kernel packages is to allow having more than one instance of a kernel.
You can have linux-headers-3.0.0-13-generic and linux-headers-3.0.0-12-generic installed at the same time.
When you upgrade meta linux-headers-generic, it pulls the latest real package as a dependency. If we had these kernel packages as one with different versions, it would be always replaced.
apt-get upgrade doesn't install new packages
 upgrade
           upgrade is used to install the newest versions of all packages
           currently installed on the system from the sources enumerated in
           /etc/apt/sources.list. Packages currently installed with new
           versions available are retrieved and upgraded; under no
           circumstances are currently installed packages removed, or packages
           not already installed retrieved and installed. New versions of
           currently installed packages that cannot be upgraded without
           changing the install status of another package will be left at
           their current version. An update must be performed first so that
           apt-get knows that new versions of packages are available.
That's why it doesn't upgrade meta packages that are dependent on new packages.
It is not kernel related. There are some other examples.
 
 
 
 
 
 
 
 Oh. So the key-word here is "dependency": it is because the new version of the virtual package- linux-header-genericincludes new dependencies that- linux-headers-3.0.0-13-genericis listed but not fetched due to the rules of the- apt-get upgradecommand. And so it is not a kernel-specific scenario but it could occur with other non-kernel packages when a new package version has new. dependencies. Is that correct?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 This is correct.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Thank you @Pilot6. I also note that the other key-word here is "meta-package" instead of "virtual package" - other packages linked to a virtual package would actually not be considered by apt-get, right?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 
 
 It is very simple.- apt-get upgradedoesn't install NEW packages.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Yes, I know. I understand now that the confusion came from the term "virtual package" used in the answer I referred to. Thank you.
 
 – The Quark
 4 hours ago
 
 
 
|
show 3 more comments
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Different packages have different names. Different versions of the same package have the same package name and different version numbers. You can see your installed packages and their version numbers with, e.g., apt list --installed:
firas@itsuki ~ % apt list --installed | grep linux-image
linux-image-4.18.0-14-generic/cosmic-updates,cosmic-security,now 4.18.0-14.15 amd64 [installed,automatic]
linux-image-4.18.0-15-generic/cosmic-updates,cosmic-security,now 4.18.0-15.16 amd64 [installed,automatic]
linux-image-generic/cosmic-updates,cosmic-security,now 4.18.0.15.16 amd64 [installed,automatic]
Here I have three installed packages whose names contain linux-image: linux-image-4.18.0-14-generic version 4.18.0-14.15, linux-image-4.18.0-15-generic version 4.18.0-15.16, and linux-image-generic version 4.18.0.15.16. In particular, linux-image-4.18.0-14-generic and linux-image-4.18.0-15-generic are different names, so they are different packages. Don't be fooled by how similar the names are, the point is that they are not the same. They might as well be named foo and bar.
Also, in the file names of .deb packages, the package name and version number are typically separated by underscores:
firas@itsuki ~ % ls /home/apt/archives/linux-image-*
/home/apt/archives/linux-image-4.18.0-14-generic_4.18.0-14.15_amd64.deb
/home/apt/archives/linux-image-4.18.0-15-generic_4.18.0-15.16_amd64.deb
/home/apt/archives/linux-image-generic_4.18.0.15.16_amd64.deb
 
 
 
 
 
 
 
 That's what I planned to add, but was too lazy. A good one.
 
 – Pilot6
 3 hours ago
 
 
 
 
 
 
 
 
 
 
 Great complement to the answer of Pilot6. Thank you!
 
 – The Quark
 3 hours ago
 
 
 
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%2f1121638%2fnew-package-vs-new-version%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
                                2 Answers
                            2
                        
active
oldest
votes
                                2 Answers
                            2
                        
active
oldest
votes
active
oldest
votes
active
oldest
votes
The reason of having kernel meta-packages like linux-image-generic and linux-headers-generic pointing to real kernel packages is to allow having more than one instance of a kernel.
You can have linux-headers-3.0.0-13-generic and linux-headers-3.0.0-12-generic installed at the same time.
When you upgrade meta linux-headers-generic, it pulls the latest real package as a dependency. If we had these kernel packages as one with different versions, it would be always replaced.
apt-get upgrade doesn't install new packages
 upgrade
           upgrade is used to install the newest versions of all packages
           currently installed on the system from the sources enumerated in
           /etc/apt/sources.list. Packages currently installed with new
           versions available are retrieved and upgraded; under no
           circumstances are currently installed packages removed, or packages
           not already installed retrieved and installed. New versions of
           currently installed packages that cannot be upgraded without
           changing the install status of another package will be left at
           their current version. An update must be performed first so that
           apt-get knows that new versions of packages are available.
That's why it doesn't upgrade meta packages that are dependent on new packages.
It is not kernel related. There are some other examples.
 
 
 
 
 
 
 
 Oh. So the key-word here is "dependency": it is because the new version of the virtual package- linux-header-genericincludes new dependencies that- linux-headers-3.0.0-13-genericis listed but not fetched due to the rules of the- apt-get upgradecommand. And so it is not a kernel-specific scenario but it could occur with other non-kernel packages when a new package version has new. dependencies. Is that correct?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 This is correct.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Thank you @Pilot6. I also note that the other key-word here is "meta-package" instead of "virtual package" - other packages linked to a virtual package would actually not be considered by apt-get, right?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 
 
 It is very simple.- apt-get upgradedoesn't install NEW packages.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Yes, I know. I understand now that the confusion came from the term "virtual package" used in the answer I referred to. Thank you.
 
 – The Quark
 4 hours ago
 
 
 
|
show 3 more comments
The reason of having kernel meta-packages like linux-image-generic and linux-headers-generic pointing to real kernel packages is to allow having more than one instance of a kernel.
You can have linux-headers-3.0.0-13-generic and linux-headers-3.0.0-12-generic installed at the same time.
When you upgrade meta linux-headers-generic, it pulls the latest real package as a dependency. If we had these kernel packages as one with different versions, it would be always replaced.
apt-get upgrade doesn't install new packages
 upgrade
           upgrade is used to install the newest versions of all packages
           currently installed on the system from the sources enumerated in
           /etc/apt/sources.list. Packages currently installed with new
           versions available are retrieved and upgraded; under no
           circumstances are currently installed packages removed, or packages
           not already installed retrieved and installed. New versions of
           currently installed packages that cannot be upgraded without
           changing the install status of another package will be left at
           their current version. An update must be performed first so that
           apt-get knows that new versions of packages are available.
That's why it doesn't upgrade meta packages that are dependent on new packages.
It is not kernel related. There are some other examples.
 
 
 
 
 
 
 
 Oh. So the key-word here is "dependency": it is because the new version of the virtual package- linux-header-genericincludes new dependencies that- linux-headers-3.0.0-13-genericis listed but not fetched due to the rules of the- apt-get upgradecommand. And so it is not a kernel-specific scenario but it could occur with other non-kernel packages when a new package version has new. dependencies. Is that correct?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 This is correct.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Thank you @Pilot6. I also note that the other key-word here is "meta-package" instead of "virtual package" - other packages linked to a virtual package would actually not be considered by apt-get, right?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 
 
 It is very simple.- apt-get upgradedoesn't install NEW packages.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Yes, I know. I understand now that the confusion came from the term "virtual package" used in the answer I referred to. Thank you.
 
 – The Quark
 4 hours ago
 
 
 
|
show 3 more comments
The reason of having kernel meta-packages like linux-image-generic and linux-headers-generic pointing to real kernel packages is to allow having more than one instance of a kernel.
You can have linux-headers-3.0.0-13-generic and linux-headers-3.0.0-12-generic installed at the same time.
When you upgrade meta linux-headers-generic, it pulls the latest real package as a dependency. If we had these kernel packages as one with different versions, it would be always replaced.
apt-get upgrade doesn't install new packages
 upgrade
           upgrade is used to install the newest versions of all packages
           currently installed on the system from the sources enumerated in
           /etc/apt/sources.list. Packages currently installed with new
           versions available are retrieved and upgraded; under no
           circumstances are currently installed packages removed, or packages
           not already installed retrieved and installed. New versions of
           currently installed packages that cannot be upgraded without
           changing the install status of another package will be left at
           their current version. An update must be performed first so that
           apt-get knows that new versions of packages are available.
That's why it doesn't upgrade meta packages that are dependent on new packages.
It is not kernel related. There are some other examples.
The reason of having kernel meta-packages like linux-image-generic and linux-headers-generic pointing to real kernel packages is to allow having more than one instance of a kernel.
You can have linux-headers-3.0.0-13-generic and linux-headers-3.0.0-12-generic installed at the same time.
When you upgrade meta linux-headers-generic, it pulls the latest real package as a dependency. If we had these kernel packages as one with different versions, it would be always replaced.
apt-get upgrade doesn't install new packages
 upgrade
           upgrade is used to install the newest versions of all packages
           currently installed on the system from the sources enumerated in
           /etc/apt/sources.list. Packages currently installed with new
           versions available are retrieved and upgraded; under no
           circumstances are currently installed packages removed, or packages
           not already installed retrieved and installed. New versions of
           currently installed packages that cannot be upgraded without
           changing the install status of another package will be left at
           their current version. An update must be performed first so that
           apt-get knows that new versions of packages are available.
That's why it doesn't upgrade meta packages that are dependent on new packages.
It is not kernel related. There are some other examples.
edited 4 hours ago
answered 5 hours ago


Pilot6Pilot6
52.6k15108197
52.6k15108197
 
 
 
 
 
 
 
 Oh. So the key-word here is "dependency": it is because the new version of the virtual package- linux-header-genericincludes new dependencies that- linux-headers-3.0.0-13-genericis listed but not fetched due to the rules of the- apt-get upgradecommand. And so it is not a kernel-specific scenario but it could occur with other non-kernel packages when a new package version has new. dependencies. Is that correct?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 This is correct.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Thank you @Pilot6. I also note that the other key-word here is "meta-package" instead of "virtual package" - other packages linked to a virtual package would actually not be considered by apt-get, right?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 
 
 It is very simple.- apt-get upgradedoesn't install NEW packages.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Yes, I know. I understand now that the confusion came from the term "virtual package" used in the answer I referred to. Thank you.
 
 – The Quark
 4 hours ago
 
 
 
|
show 3 more comments
 
 
 
 
 
 
 
 Oh. So the key-word here is "dependency": it is because the new version of the virtual package- linux-header-genericincludes new dependencies that- linux-headers-3.0.0-13-genericis listed but not fetched due to the rules of the- apt-get upgradecommand. And so it is not a kernel-specific scenario but it could occur with other non-kernel packages when a new package version has new. dependencies. Is that correct?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 This is correct.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Thank you @Pilot6. I also note that the other key-word here is "meta-package" instead of "virtual package" - other packages linked to a virtual package would actually not be considered by apt-get, right?
 
 – The Quark
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 
 
 It is very simple.- apt-get upgradedoesn't install NEW packages.
 
 – Pilot6
 4 hours ago
 
 
 
 
 
 
 
 
 
 
 Yes, I know. I understand now that the confusion came from the term "virtual package" used in the answer I referred to. Thank you.
 
 – The Quark
 4 hours ago
 
 
 
Oh. So the key-word here is "dependency": it is because the new version of the virtual package
linux-header-generic includes new dependencies that linux-headers-3.0.0-13-generic is listed but not fetched due to the rules of the apt-get upgrade command. And so it is not a kernel-specific scenario but it could occur with other non-kernel packages when a new package version has new.  dependencies. Is that correct?– The Quark
4 hours ago
Oh. So the key-word here is "dependency": it is because the new version of the virtual package
linux-header-generic includes new dependencies that linux-headers-3.0.0-13-generic is listed but not fetched due to the rules of the apt-get upgrade command. And so it is not a kernel-specific scenario but it could occur with other non-kernel packages when a new package version has new.  dependencies. Is that correct?– The Quark
4 hours ago
This is correct.
– Pilot6
4 hours ago
This is correct.
– Pilot6
4 hours ago
Thank you @Pilot6. I also note that the other key-word here is "meta-package" instead of "virtual package" - other packages linked to a virtual package would actually not be considered by apt-get, right?
– The Quark
4 hours ago
Thank you @Pilot6. I also note that the other key-word here is "meta-package" instead of "virtual package" - other packages linked to a virtual package would actually not be considered by apt-get, right?
– The Quark
4 hours ago
It is very simple.
apt-get upgrade doesn't install NEW packages.– Pilot6
4 hours ago
It is very simple.
apt-get upgrade doesn't install NEW packages.– Pilot6
4 hours ago
Yes, I know. I understand now that the confusion came from the term "virtual package" used in the answer I referred to. Thank you.
– The Quark
4 hours ago
Yes, I know. I understand now that the confusion came from the term "virtual package" used in the answer I referred to. Thank you.
– The Quark
4 hours ago
|
show 3 more comments
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Different packages have different names. Different versions of the same package have the same package name and different version numbers. You can see your installed packages and their version numbers with, e.g., apt list --installed:
firas@itsuki ~ % apt list --installed | grep linux-image
linux-image-4.18.0-14-generic/cosmic-updates,cosmic-security,now 4.18.0-14.15 amd64 [installed,automatic]
linux-image-4.18.0-15-generic/cosmic-updates,cosmic-security,now 4.18.0-15.16 amd64 [installed,automatic]
linux-image-generic/cosmic-updates,cosmic-security,now 4.18.0.15.16 amd64 [installed,automatic]
Here I have three installed packages whose names contain linux-image: linux-image-4.18.0-14-generic version 4.18.0-14.15, linux-image-4.18.0-15-generic version 4.18.0-15.16, and linux-image-generic version 4.18.0.15.16. In particular, linux-image-4.18.0-14-generic and linux-image-4.18.0-15-generic are different names, so they are different packages. Don't be fooled by how similar the names are, the point is that they are not the same. They might as well be named foo and bar.
Also, in the file names of .deb packages, the package name and version number are typically separated by underscores:
firas@itsuki ~ % ls /home/apt/archives/linux-image-*
/home/apt/archives/linux-image-4.18.0-14-generic_4.18.0-14.15_amd64.deb
/home/apt/archives/linux-image-4.18.0-15-generic_4.18.0-15.16_amd64.deb
/home/apt/archives/linux-image-generic_4.18.0.15.16_amd64.deb
 
 
 
 
 
 
 
 That's what I planned to add, but was too lazy. A good one.
 
 – Pilot6
 3 hours ago
 
 
 
 
 
 
 
 
 
 
 Great complement to the answer of Pilot6. Thank you!
 
 – The Quark
 3 hours ago
 
 
 
add a comment |
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Different packages have different names. Different versions of the same package have the same package name and different version numbers. You can see your installed packages and their version numbers with, e.g., apt list --installed:
firas@itsuki ~ % apt list --installed | grep linux-image
linux-image-4.18.0-14-generic/cosmic-updates,cosmic-security,now 4.18.0-14.15 amd64 [installed,automatic]
linux-image-4.18.0-15-generic/cosmic-updates,cosmic-security,now 4.18.0-15.16 amd64 [installed,automatic]
linux-image-generic/cosmic-updates,cosmic-security,now 4.18.0.15.16 amd64 [installed,automatic]
Here I have three installed packages whose names contain linux-image: linux-image-4.18.0-14-generic version 4.18.0-14.15, linux-image-4.18.0-15-generic version 4.18.0-15.16, and linux-image-generic version 4.18.0.15.16. In particular, linux-image-4.18.0-14-generic and linux-image-4.18.0-15-generic are different names, so they are different packages. Don't be fooled by how similar the names are, the point is that they are not the same. They might as well be named foo and bar.
Also, in the file names of .deb packages, the package name and version number are typically separated by underscores:
firas@itsuki ~ % ls /home/apt/archives/linux-image-*
/home/apt/archives/linux-image-4.18.0-14-generic_4.18.0-14.15_amd64.deb
/home/apt/archives/linux-image-4.18.0-15-generic_4.18.0-15.16_amd64.deb
/home/apt/archives/linux-image-generic_4.18.0.15.16_amd64.deb
 
 
 
 
 
 
 
 That's what I planned to add, but was too lazy. A good one.
 
 – Pilot6
 3 hours ago
 
 
 
 
 
 
 
 
 
 
 Great complement to the answer of Pilot6. Thank you!
 
 – The Quark
 3 hours ago
 
 
 
add a comment |
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Different packages have different names. Different versions of the same package have the same package name and different version numbers. You can see your installed packages and their version numbers with, e.g., apt list --installed:
firas@itsuki ~ % apt list --installed | grep linux-image
linux-image-4.18.0-14-generic/cosmic-updates,cosmic-security,now 4.18.0-14.15 amd64 [installed,automatic]
linux-image-4.18.0-15-generic/cosmic-updates,cosmic-security,now 4.18.0-15.16 amd64 [installed,automatic]
linux-image-generic/cosmic-updates,cosmic-security,now 4.18.0.15.16 amd64 [installed,automatic]
Here I have three installed packages whose names contain linux-image: linux-image-4.18.0-14-generic version 4.18.0-14.15, linux-image-4.18.0-15-generic version 4.18.0-15.16, and linux-image-generic version 4.18.0.15.16. In particular, linux-image-4.18.0-14-generic and linux-image-4.18.0-15-generic are different names, so they are different packages. Don't be fooled by how similar the names are, the point is that they are not the same. They might as well be named foo and bar.
Also, in the file names of .deb packages, the package name and version number are typically separated by underscores:
firas@itsuki ~ % ls /home/apt/archives/linux-image-*
/home/apt/archives/linux-image-4.18.0-14-generic_4.18.0-14.15_amd64.deb
/home/apt/archives/linux-image-4.18.0-15-generic_4.18.0-15.16_amd64.deb
/home/apt/archives/linux-image-generic_4.18.0.15.16_amd64.deb
How is it a new package and not simply a new version, and how to know (recognize) the difference?
Different packages have different names. Different versions of the same package have the same package name and different version numbers. You can see your installed packages and their version numbers with, e.g., apt list --installed:
firas@itsuki ~ % apt list --installed | grep linux-image
linux-image-4.18.0-14-generic/cosmic-updates,cosmic-security,now 4.18.0-14.15 amd64 [installed,automatic]
linux-image-4.18.0-15-generic/cosmic-updates,cosmic-security,now 4.18.0-15.16 amd64 [installed,automatic]
linux-image-generic/cosmic-updates,cosmic-security,now 4.18.0.15.16 amd64 [installed,automatic]
Here I have three installed packages whose names contain linux-image: linux-image-4.18.0-14-generic version 4.18.0-14.15, linux-image-4.18.0-15-generic version 4.18.0-15.16, and linux-image-generic version 4.18.0.15.16. In particular, linux-image-4.18.0-14-generic and linux-image-4.18.0-15-generic are different names, so they are different packages. Don't be fooled by how similar the names are, the point is that they are not the same. They might as well be named foo and bar.
Also, in the file names of .deb packages, the package name and version number are typically separated by underscores:
firas@itsuki ~ % ls /home/apt/archives/linux-image-*
/home/apt/archives/linux-image-4.18.0-14-generic_4.18.0-14.15_amd64.deb
/home/apt/archives/linux-image-4.18.0-15-generic_4.18.0-15.16_amd64.deb
/home/apt/archives/linux-image-generic_4.18.0.15.16_amd64.deb
answered 4 hours ago


fkraiemfkraiem
8,98631830
8,98631830
 
 
 
 
 
 
 
 That's what I planned to add, but was too lazy. A good one.
 
 – Pilot6
 3 hours ago
 
 
 
 
 
 
 
 
 
 
 Great complement to the answer of Pilot6. Thank you!
 
 – The Quark
 3 hours ago
 
 
 
add a comment |
 
 
 
 
 
 
 
 That's what I planned to add, but was too lazy. A good one.
 
 – Pilot6
 3 hours ago
 
 
 
 
 
 
 
 
 
 
 Great complement to the answer of Pilot6. Thank you!
 
 – The Quark
 3 hours ago
 
 
 
That's what I planned to add, but was too lazy. A good one.
– Pilot6
3 hours ago
That's what I planned to add, but was too lazy. A good one.
– Pilot6
3 hours ago
Great complement to the answer of Pilot6. Thank you!
– The Quark
3 hours ago
Great complement to the answer of Pilot6. Thank you!
– The Quark
3 hours ago
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%2f1121638%2fnew-package-vs-new-version%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
dist-upgrade: in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages, it will attempt to upgrade the most important packages at the expense of less important ones if necessary.
– cmak.fr
5 hours ago