Should I install a .deb file of a package version that's not in apt source?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















If a package's version that's not in apt source, i.e. the version not does not appear when I run apt-cache policy package, then is it wise to install a .deb file of this version? I guess there are risks here. Do such risks often happen? Are the risk's consequences often big or small? Are the risks reversible by uninstalling the package in order to go back to normal?



A specific example, I want to install the bluez_5.50-0ubuntu1_amd64.deb file instead of the bluez_5.37-0ubuntu5.1_amd64.deb package maintainer's version. Does anyone try this? Is it OK?










share|improve this question




















  • 1





    5.37 is Xenial (16.04). 5.50 is Cosmic (18.10). Installing a wrong-release deb package is generally a Bad Idea, and does risk breaking your system quite horribly. Consider trying an 18.10 LiveUSB on your hardware to test if Bluetooth works better. If so, then commit to a complete system upgrade.

    – user535733
    Dec 26 '18 at 18:23


















3















If a package's version that's not in apt source, i.e. the version not does not appear when I run apt-cache policy package, then is it wise to install a .deb file of this version? I guess there are risks here. Do such risks often happen? Are the risk's consequences often big or small? Are the risks reversible by uninstalling the package in order to go back to normal?



A specific example, I want to install the bluez_5.50-0ubuntu1_amd64.deb file instead of the bluez_5.37-0ubuntu5.1_amd64.deb package maintainer's version. Does anyone try this? Is it OK?










share|improve this question




















  • 1





    5.37 is Xenial (16.04). 5.50 is Cosmic (18.10). Installing a wrong-release deb package is generally a Bad Idea, and does risk breaking your system quite horribly. Consider trying an 18.10 LiveUSB on your hardware to test if Bluetooth works better. If so, then commit to a complete system upgrade.

    – user535733
    Dec 26 '18 at 18:23














3












3








3








If a package's version that's not in apt source, i.e. the version not does not appear when I run apt-cache policy package, then is it wise to install a .deb file of this version? I guess there are risks here. Do such risks often happen? Are the risk's consequences often big or small? Are the risks reversible by uninstalling the package in order to go back to normal?



A specific example, I want to install the bluez_5.50-0ubuntu1_amd64.deb file instead of the bluez_5.37-0ubuntu5.1_amd64.deb package maintainer's version. Does anyone try this? Is it OK?










share|improve this question
















If a package's version that's not in apt source, i.e. the version not does not appear when I run apt-cache policy package, then is it wise to install a .deb file of this version? I guess there are risks here. Do such risks often happen? Are the risk's consequences often big or small? Are the risks reversible by uninstalling the package in order to go back to normal?



A specific example, I want to install the bluez_5.50-0ubuntu1_amd64.deb file instead of the bluez_5.37-0ubuntu5.1_amd64.deb package maintainer's version. Does anyone try this? Is it OK?







16.04 package-management software-installation deb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 26 '18 at 17:42









karel

61k13132155




61k13132155










asked Dec 26 '18 at 16:58









ydhhatydhhat

226




226








  • 1





    5.37 is Xenial (16.04). 5.50 is Cosmic (18.10). Installing a wrong-release deb package is generally a Bad Idea, and does risk breaking your system quite horribly. Consider trying an 18.10 LiveUSB on your hardware to test if Bluetooth works better. If so, then commit to a complete system upgrade.

    – user535733
    Dec 26 '18 at 18:23














  • 1





    5.37 is Xenial (16.04). 5.50 is Cosmic (18.10). Installing a wrong-release deb package is generally a Bad Idea, and does risk breaking your system quite horribly. Consider trying an 18.10 LiveUSB on your hardware to test if Bluetooth works better. If so, then commit to a complete system upgrade.

    – user535733
    Dec 26 '18 at 18:23








1




1





5.37 is Xenial (16.04). 5.50 is Cosmic (18.10). Installing a wrong-release deb package is generally a Bad Idea, and does risk breaking your system quite horribly. Consider trying an 18.10 LiveUSB on your hardware to test if Bluetooth works better. If so, then commit to a complete system upgrade.

– user535733
Dec 26 '18 at 18:23





5.37 is Xenial (16.04). 5.50 is Cosmic (18.10). Installing a wrong-release deb package is generally a Bad Idea, and does risk breaking your system quite horribly. Consider trying an 18.10 LiveUSB on your hardware to test if Bluetooth works better. If so, then commit to a complete system upgrade.

– user535733
Dec 26 '18 at 18:23










1 Answer
1






active

oldest

votes


















4















  1. A .deb file from an external software source that is manually installed won't be automatically updated like it would be if it was installed from the default Ubuntu repositories or from a PPA.


  2. When a .deb file is installed its missing dependencies are also installed along with it. There may be package management issues caused by conflicting dependencies of a manually installed .deb package with other packages that are installed from the default Ubuntu repositories.


  3. Is there any reason to trust the source of the .deb file that you installed manually as much as you trust the packages from the default Ubuntu repositories? This factor by itself would be sufficient reason for some people to install the .deb file in a virtual machine if that's possible to do in order to minimize the possible adverse and/or irreversible consequences of installing an untrusted package.



  4. There may be safer alternatives to installing a relatively untrusted .deb file.




    • Unlike apt packages, snap packages are usually updated to the latest version. A snap package is a good alternative to a relatively untrusted manually installed .deb file if it is available in the default Ubuntu repositories.


    • Another alternative to installing a relatively untrusted .deb file with root permissions is to track down the source code of the package and compile it as a normal user in your own home directory. This is a complicated option, the advantage of which is when it's done properly it's safer than installing a relatively untrusted package with root permissions.



    • The results of rmadison bluez show the following bluez versions. The bluez package contains tools and system daemons for using bluetooth devices, but it does not contain the required drivers for all bluetooth devices. When bluetooth is malfunctioning, it's usually because of a driver issue, not because of bluez.



       bluez | 4.98-2ubuntu7     | precise         | source, amd64, armel, armhf, i386, powerpc  
      bluez | 4.98-2ubuntu7.2 | precise-updates | source, amd64, armel, armhf, i386, powerpc
      bluez | 4.101-0ubuntu13 | trusty | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 5.37-0ubuntu5 | xenial | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.48-0ubuntu3 | bionic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.48-0ubuntu3.1 | bionic-updates | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | cosmic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | disco | source, amd64, arm64, armhf, i386, ppc64el, s390x









share|improve this answer


























  • If the conflict happens, does removing deb package solve the problem?

    – ydhhat
    Dec 26 '18 at 17:55











  • Removing a .deb package does not remove any dependencies that were installed along with it, but if there is a package management issue with any dependency packages they can be manually removed one at a time with the help of the aptitude program or sometimes even batch uninstalled the easy way by running sudo apt autoremove

    – karel
    Dec 26 '18 at 18:00













  • why sudo apt autoremove works sometimes

    – ydhhat
    Dec 26 '18 at 18:31











  • If a dependency package that is installed by a .deb file is no longer required it is called an orphaned package and sudo apt autoremove is able to automatically remove it, but sometimes the same dependency package is also required by other installed packages in which case it requires aptitude to suggest smart ways of removing the packages and replacing non-Ubuntu repository packages with Ubuntu repository packages.

    – karel
    Dec 26 '18 at 18:40














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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104696%2fshould-i-install-a-deb-file-of-a-package-version-thats-not-in-apt-source%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4















  1. A .deb file from an external software source that is manually installed won't be automatically updated like it would be if it was installed from the default Ubuntu repositories or from a PPA.


  2. When a .deb file is installed its missing dependencies are also installed along with it. There may be package management issues caused by conflicting dependencies of a manually installed .deb package with other packages that are installed from the default Ubuntu repositories.


  3. Is there any reason to trust the source of the .deb file that you installed manually as much as you trust the packages from the default Ubuntu repositories? This factor by itself would be sufficient reason for some people to install the .deb file in a virtual machine if that's possible to do in order to minimize the possible adverse and/or irreversible consequences of installing an untrusted package.



  4. There may be safer alternatives to installing a relatively untrusted .deb file.




    • Unlike apt packages, snap packages are usually updated to the latest version. A snap package is a good alternative to a relatively untrusted manually installed .deb file if it is available in the default Ubuntu repositories.


    • Another alternative to installing a relatively untrusted .deb file with root permissions is to track down the source code of the package and compile it as a normal user in your own home directory. This is a complicated option, the advantage of which is when it's done properly it's safer than installing a relatively untrusted package with root permissions.



    • The results of rmadison bluez show the following bluez versions. The bluez package contains tools and system daemons for using bluetooth devices, but it does not contain the required drivers for all bluetooth devices. When bluetooth is malfunctioning, it's usually because of a driver issue, not because of bluez.



       bluez | 4.98-2ubuntu7     | precise         | source, amd64, armel, armhf, i386, powerpc  
      bluez | 4.98-2ubuntu7.2 | precise-updates | source, amd64, armel, armhf, i386, powerpc
      bluez | 4.101-0ubuntu13 | trusty | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 5.37-0ubuntu5 | xenial | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.48-0ubuntu3 | bionic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.48-0ubuntu3.1 | bionic-updates | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | cosmic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | disco | source, amd64, arm64, armhf, i386, ppc64el, s390x









share|improve this answer


























  • If the conflict happens, does removing deb package solve the problem?

    – ydhhat
    Dec 26 '18 at 17:55











  • Removing a .deb package does not remove any dependencies that were installed along with it, but if there is a package management issue with any dependency packages they can be manually removed one at a time with the help of the aptitude program or sometimes even batch uninstalled the easy way by running sudo apt autoremove

    – karel
    Dec 26 '18 at 18:00













  • why sudo apt autoremove works sometimes

    – ydhhat
    Dec 26 '18 at 18:31











  • If a dependency package that is installed by a .deb file is no longer required it is called an orphaned package and sudo apt autoremove is able to automatically remove it, but sometimes the same dependency package is also required by other installed packages in which case it requires aptitude to suggest smart ways of removing the packages and replacing non-Ubuntu repository packages with Ubuntu repository packages.

    – karel
    Dec 26 '18 at 18:40


















4















  1. A .deb file from an external software source that is manually installed won't be automatically updated like it would be if it was installed from the default Ubuntu repositories or from a PPA.


  2. When a .deb file is installed its missing dependencies are also installed along with it. There may be package management issues caused by conflicting dependencies of a manually installed .deb package with other packages that are installed from the default Ubuntu repositories.


  3. Is there any reason to trust the source of the .deb file that you installed manually as much as you trust the packages from the default Ubuntu repositories? This factor by itself would be sufficient reason for some people to install the .deb file in a virtual machine if that's possible to do in order to minimize the possible adverse and/or irreversible consequences of installing an untrusted package.



  4. There may be safer alternatives to installing a relatively untrusted .deb file.




    • Unlike apt packages, snap packages are usually updated to the latest version. A snap package is a good alternative to a relatively untrusted manually installed .deb file if it is available in the default Ubuntu repositories.


    • Another alternative to installing a relatively untrusted .deb file with root permissions is to track down the source code of the package and compile it as a normal user in your own home directory. This is a complicated option, the advantage of which is when it's done properly it's safer than installing a relatively untrusted package with root permissions.



    • The results of rmadison bluez show the following bluez versions. The bluez package contains tools and system daemons for using bluetooth devices, but it does not contain the required drivers for all bluetooth devices. When bluetooth is malfunctioning, it's usually because of a driver issue, not because of bluez.



       bluez | 4.98-2ubuntu7     | precise         | source, amd64, armel, armhf, i386, powerpc  
      bluez | 4.98-2ubuntu7.2 | precise-updates | source, amd64, armel, armhf, i386, powerpc
      bluez | 4.101-0ubuntu13 | trusty | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 5.37-0ubuntu5 | xenial | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.48-0ubuntu3 | bionic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.48-0ubuntu3.1 | bionic-updates | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | cosmic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | disco | source, amd64, arm64, armhf, i386, ppc64el, s390x









share|improve this answer


























  • If the conflict happens, does removing deb package solve the problem?

    – ydhhat
    Dec 26 '18 at 17:55











  • Removing a .deb package does not remove any dependencies that were installed along with it, but if there is a package management issue with any dependency packages they can be manually removed one at a time with the help of the aptitude program or sometimes even batch uninstalled the easy way by running sudo apt autoremove

    – karel
    Dec 26 '18 at 18:00













  • why sudo apt autoremove works sometimes

    – ydhhat
    Dec 26 '18 at 18:31











  • If a dependency package that is installed by a .deb file is no longer required it is called an orphaned package and sudo apt autoremove is able to automatically remove it, but sometimes the same dependency package is also required by other installed packages in which case it requires aptitude to suggest smart ways of removing the packages and replacing non-Ubuntu repository packages with Ubuntu repository packages.

    – karel
    Dec 26 '18 at 18:40
















4












4








4








  1. A .deb file from an external software source that is manually installed won't be automatically updated like it would be if it was installed from the default Ubuntu repositories or from a PPA.


  2. When a .deb file is installed its missing dependencies are also installed along with it. There may be package management issues caused by conflicting dependencies of a manually installed .deb package with other packages that are installed from the default Ubuntu repositories.


  3. Is there any reason to trust the source of the .deb file that you installed manually as much as you trust the packages from the default Ubuntu repositories? This factor by itself would be sufficient reason for some people to install the .deb file in a virtual machine if that's possible to do in order to minimize the possible adverse and/or irreversible consequences of installing an untrusted package.



  4. There may be safer alternatives to installing a relatively untrusted .deb file.




    • Unlike apt packages, snap packages are usually updated to the latest version. A snap package is a good alternative to a relatively untrusted manually installed .deb file if it is available in the default Ubuntu repositories.


    • Another alternative to installing a relatively untrusted .deb file with root permissions is to track down the source code of the package and compile it as a normal user in your own home directory. This is a complicated option, the advantage of which is when it's done properly it's safer than installing a relatively untrusted package with root permissions.



    • The results of rmadison bluez show the following bluez versions. The bluez package contains tools and system daemons for using bluetooth devices, but it does not contain the required drivers for all bluetooth devices. When bluetooth is malfunctioning, it's usually because of a driver issue, not because of bluez.



       bluez | 4.98-2ubuntu7     | precise         | source, amd64, armel, armhf, i386, powerpc  
      bluez | 4.98-2ubuntu7.2 | precise-updates | source, amd64, armel, armhf, i386, powerpc
      bluez | 4.101-0ubuntu13 | trusty | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 5.37-0ubuntu5 | xenial | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.48-0ubuntu3 | bionic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.48-0ubuntu3.1 | bionic-updates | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | cosmic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | disco | source, amd64, arm64, armhf, i386, ppc64el, s390x









share|improve this answer
















  1. A .deb file from an external software source that is manually installed won't be automatically updated like it would be if it was installed from the default Ubuntu repositories or from a PPA.


  2. When a .deb file is installed its missing dependencies are also installed along with it. There may be package management issues caused by conflicting dependencies of a manually installed .deb package with other packages that are installed from the default Ubuntu repositories.


  3. Is there any reason to trust the source of the .deb file that you installed manually as much as you trust the packages from the default Ubuntu repositories? This factor by itself would be sufficient reason for some people to install the .deb file in a virtual machine if that's possible to do in order to minimize the possible adverse and/or irreversible consequences of installing an untrusted package.



  4. There may be safer alternatives to installing a relatively untrusted .deb file.




    • Unlike apt packages, snap packages are usually updated to the latest version. A snap package is a good alternative to a relatively untrusted manually installed .deb file if it is available in the default Ubuntu repositories.


    • Another alternative to installing a relatively untrusted .deb file with root permissions is to track down the source code of the package and compile it as a normal user in your own home directory. This is a complicated option, the advantage of which is when it's done properly it's safer than installing a relatively untrusted package with root permissions.



    • The results of rmadison bluez show the following bluez versions. The bluez package contains tools and system daemons for using bluetooth devices, but it does not contain the required drivers for all bluetooth devices. When bluetooth is malfunctioning, it's usually because of a driver issue, not because of bluez.



       bluez | 4.98-2ubuntu7     | precise         | source, amd64, armel, armhf, i386, powerpc  
      bluez | 4.98-2ubuntu7.2 | precise-updates | source, amd64, armel, armhf, i386, powerpc
      bluez | 4.101-0ubuntu13 | trusty | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 4.101-0ubuntu13.3 | trusty-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el
      bluez | 5.37-0ubuntu5 | xenial | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-security | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.37-0ubuntu5.1 | xenial-updates | source, amd64, arm64, armhf, i386, powerpc, ppc64el, s390x
      bluez | 5.48-0ubuntu3 | bionic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.48-0ubuntu3.1 | bionic-updates | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | cosmic | source, amd64, arm64, armhf, i386, ppc64el, s390x
      bluez | 5.50-0ubuntu1 | disco | source, amd64, arm64, armhf, i386, ppc64el, s390x










share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 26 '18 at 20:23

























answered Dec 26 '18 at 17:08









karelkarel

61k13132155




61k13132155













  • If the conflict happens, does removing deb package solve the problem?

    – ydhhat
    Dec 26 '18 at 17:55











  • Removing a .deb package does not remove any dependencies that were installed along with it, but if there is a package management issue with any dependency packages they can be manually removed one at a time with the help of the aptitude program or sometimes even batch uninstalled the easy way by running sudo apt autoremove

    – karel
    Dec 26 '18 at 18:00













  • why sudo apt autoremove works sometimes

    – ydhhat
    Dec 26 '18 at 18:31











  • If a dependency package that is installed by a .deb file is no longer required it is called an orphaned package and sudo apt autoremove is able to automatically remove it, but sometimes the same dependency package is also required by other installed packages in which case it requires aptitude to suggest smart ways of removing the packages and replacing non-Ubuntu repository packages with Ubuntu repository packages.

    – karel
    Dec 26 '18 at 18:40





















  • If the conflict happens, does removing deb package solve the problem?

    – ydhhat
    Dec 26 '18 at 17:55











  • Removing a .deb package does not remove any dependencies that were installed along with it, but if there is a package management issue with any dependency packages they can be manually removed one at a time with the help of the aptitude program or sometimes even batch uninstalled the easy way by running sudo apt autoremove

    – karel
    Dec 26 '18 at 18:00













  • why sudo apt autoremove works sometimes

    – ydhhat
    Dec 26 '18 at 18:31











  • If a dependency package that is installed by a .deb file is no longer required it is called an orphaned package and sudo apt autoremove is able to automatically remove it, but sometimes the same dependency package is also required by other installed packages in which case it requires aptitude to suggest smart ways of removing the packages and replacing non-Ubuntu repository packages with Ubuntu repository packages.

    – karel
    Dec 26 '18 at 18:40



















If the conflict happens, does removing deb package solve the problem?

– ydhhat
Dec 26 '18 at 17:55





If the conflict happens, does removing deb package solve the problem?

– ydhhat
Dec 26 '18 at 17:55













Removing a .deb package does not remove any dependencies that were installed along with it, but if there is a package management issue with any dependency packages they can be manually removed one at a time with the help of the aptitude program or sometimes even batch uninstalled the easy way by running sudo apt autoremove

– karel
Dec 26 '18 at 18:00







Removing a .deb package does not remove any dependencies that were installed along with it, but if there is a package management issue with any dependency packages they can be manually removed one at a time with the help of the aptitude program or sometimes even batch uninstalled the easy way by running sudo apt autoremove

– karel
Dec 26 '18 at 18:00















why sudo apt autoremove works sometimes

– ydhhat
Dec 26 '18 at 18:31





why sudo apt autoremove works sometimes

– ydhhat
Dec 26 '18 at 18:31













If a dependency package that is installed by a .deb file is no longer required it is called an orphaned package and sudo apt autoremove is able to automatically remove it, but sometimes the same dependency package is also required by other installed packages in which case it requires aptitude to suggest smart ways of removing the packages and replacing non-Ubuntu repository packages with Ubuntu repository packages.

– karel
Dec 26 '18 at 18:40







If a dependency package that is installed by a .deb file is no longer required it is called an orphaned package and sudo apt autoremove is able to automatically remove it, but sometimes the same dependency package is also required by other installed packages in which case it requires aptitude to suggest smart ways of removing the packages and replacing non-Ubuntu repository packages with Ubuntu repository packages.

– karel
Dec 26 '18 at 18:40




















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104696%2fshould-i-install-a-deb-file-of-a-package-version-thats-not-in-apt-source%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Willebadessen

Ida-Boy-Ed-Garten

Residenzschloss Arolsen