Giter VIP home page Giter VIP logo

Comments (6)

basak avatar basak commented on June 24, 2024 1

This is https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1728616

from rolling-rhino.

m-ueberall avatar m-ueberall commented on June 24, 2024

For the record, I've cloned an existing LXD container (based on Focal Fossa/20.04LTS), bypassed the warnings and ended up with the above. Despite the hundreds of initial updates, this effectively does not allow me to upgrade to QEmu 5.0 …

from rolling-rhino.

flexiondotorg avatar flexiondotorg commented on June 24, 2024

Qemu is currently 4.2 in groovy/devel. Are you getting qemu from a PPA?

from rolling-rhino.

m-ueberall avatar m-ueberall commented on June 24, 2024

Qemu is currently 4.2 in groovy/devel. Are you getting qemu from a PPA?

My bad, I misread the overview on Launchpad, should have looked at groovy-proposed.

from rolling-rhino.

troyBORG avatar troyBORG commented on June 24, 2024

I guess i was wondering if there was a way to squelch the warnings?

from rolling-rhino.

p4j0c4 avatar p4j0c4 commented on June 24, 2024

I looked for a solution to get rid of apt update errors Conflicting distribution: ... not being shown when executing the command in a terminal.

The workaround can be done by creating the following aliases, which I created with the following file name:

~/.bash_aliases

alias sudo='sudo '
alias apt='apt '
alias update='update |& grep -v "Conflicting distribution:"'

Comments:

[+] Take into account the spaces at the end of the first two aliases.

To apply the new aliases without logout or reboot, execute the following command:

source ~/.bash_aliases

To apply the same patch for the root user, just copy the same file to the root directory:

sudo cp -v ~/.bash_aliases /root/

I wish I would have found a better and more elegant solution, but with this patch at least the apt update errors Conflicting distribution: ... will no longer be shown.

In this way any other apt update errors will be shown.

from rolling-rhino.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.