Forum › Forums › New users › New Users and General Questions › Cannot install wine via apt-get
Tagged: wine cannot install via apt-get
- This topic has 13 replies, 6 voices, and was last updated Jan 1-9:48 pm by seaken64.
-
AuthorPosts
-
January 1, 2021 at 1:06 am #48671Member
angel7
I can’t install wine via apt-get! It says that “Wine does not have candidate for installation. Please any help would be good. Thanks in Advance!
January 1, 2021 at 1:22 am #48672Moderator
caprea
::Did you update your sources first ?
sudo apt update
If so please post the output of
inxi -rIt’s recomended to install wine with package-installer,btw.
January 1, 2021 at 9:19 am #48695Member
Xecure
::If you are running on a live USB with persistence, to save space on the persistence file, the list of packages available to install built with sudo apt update is excluded and will not be saved. This means that, every time you reboot, you would need to sudo apt update at least once if you want to update or install new programs. This behaviour can be “fixed if you wish, but it will save an extra 100-200MBs of info in your rootfs persistent file.
But that is only for a live USB or frugal session, and not for installed. Installed, after one time doing sudo apt update, the list of available packages survives a reboot.
If you provide the output of the command requested by caprea we can be sure that your repo list is 100% ok.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.January 1, 2021 at 12:31 pm #48696Member
angel7
::output:
inxi -r Repos: Active apt repos in: /etc/apt/sources.list.d/antix.list 1: deb http://mirror.ufam.edu.br/mx/antix/buster/ buster main nonfree nosystemd 2: deb https://mirrors.evowise.com/mxlinux-packages/antix/buster/ buster nonfree nosystemd main 3: deb http://mirror.retentionrange.co.bw/mxlinux/packages/antix/buster/ buster main nosystemd nonfree 4: deb http://download.nust.na/pub/mxlinux/antix/buster/ buster main nosystemd nonfree 5: deb http://mirror.renu.ac.ug/mxlinux/antix/buster/ buster main nosystemd nonfree 6: deb http://mirror.its.dal.ca/mxlinux/antix/buster/ buster main nosystemd nonfree 7: deb http://mirror.cedille.club/mx-linux/antix/buster/ buster main nosystemd nonfree 8: deb http://la.mxrepo.com/antix/buster/ buster main nosystemd nonfree 9: deb https://mxlinux.c3sl.ufpr.br/mx-workspace/antix/buster/ buster main nosystemd nonfree 10: deb http://mirror.netlinux.cl/mxlinux/antix/buster/ buster main nosystemd nonfree 11: deb http://mirror.unimagdalena.edu.co/mxlinux/antix/buster/ buster main nosystemd nonfree 12: deb http://mirror.cedia.org.ec/mx-workspace/antix/buster/ buster main nosystemd nonfree 13: deb https://mirrors.sjtug.sjtu.edu.cn/mx-packages/antix/buster/ buster main nosystemd nonfree 14: deb http://mirrors.cqu.edu.cn/MX_Linux/antix/buster/ buster main nosystemd nonfree 15: deb https://mxlinux.grena.ge/mxlinux/antix/buster/ buster main nosystemd nonfree 16: deb https://mirror-hk.koddos.net/mxlinux/antix/buster/ buster main nosystemd nonfree 17: deb https://mirrors.xtom.com.hk/mx-packages/antix/buster/ buster main nosystemd nonfree 18: deb https://mxlinux.aumix.com/mxlinux/antix/buster/ buster main nosystemd nonfree 19: deb https://ftp.yz.yamagata-u.ac.jp/pub/Linux/MX-Linux-Packages/antix/buster/ buster main nosystemd nonfree 20: deb http://mirror.myren.net.my/mx-packages/antix/buster/ buster main nosystemd nonfree 21: deb http://ftp.harukasan.org/mxlinux/antix/buster/ buster main nosystemd nonfree 22: deb http://ftp.kaist.ac.kr/mxlinux/antix/buster/ buster main nosystemd nonfree 23: deb https://mirror.kku.ac.th/mx-packages/antix/buster/ buster main nosystemd nonfree 24: deb http://mirror.digitalnova.at/mxlinux/packages/antix/buster/ buster main nosystemd nonfree 25: deb https://mirror.karneval.cz/pub/linux/mxlinux-packages/antix/buster/ buster main nosystemd nonfree 26: deb http://ftp.linux.cz/pub/linux/mxlinux/packages/antix/buster/ buster main nosystemd nonfree 27: deb http://ftp.sh.cvut.cz/mxlinux/packages/antix/buster/ buster main nosystemd nonfree 28: deb http://mirrors.dotsrc.org/mx-packages/antix/buster/ buster main nosystemd nonfree 29: deb https://mirror.one.com/mx-packages/antix/buster/ buster main nosystemd nonfree 30: deb http://mirror.plusserver.com/mxlinux/mxlinux/antix/buster/ buster main nosystemd nonfree 31: deb https://ftp.fau.de/mxlinux-packages/antix/buster/ buster main nosystemd nonfree 32: deb https://mirror.23media.com/mx-packages/antix/buster/ buster main nosystemd nonfree 33: deb http://ftp.ntua.gr/pub/linux/mxlinux/antix/buster/ buster main nosystemd nonfree 34: deb http://ftp.cc.uoc.gr/mirrors/linux/mx/antix/buster/ buster main nosystemd nonfree 35: deb http://quantum-mirror.hu/mirrors/pub/mx-linux/packages/antix/buster/ buster main nosystemd nonfree 36: deb http://mirror.strencom.net/mxlinux/packages/antix/buster/ buster main nosystemd nonfree 37: deb http://it.mxrepo.com/antix/buster/ buster main nosystemd nonfree 38: deb http://mirror.units.it/mxlinux/antix/buster/ buster main nosystemd nonfree 39: deb http://mirror.koddos.net/mxlinux/antix/buster/ buster main nosystemd nonfree 40: deb http://mxlinux.inhost.pro/antix-workspace/antix/buster/ buster main nosystemd nonfree 41: deb http://glua.ua.pt/pub/mx-packages/antix/buster/ buster main nosystemd nonfree 42: deb https://mirrors.pidginhost.com/mx-linux/packages/antix/buster/ buster main nosystemd nonfree 43: deb https://ftp.arnes.si/mirrors/mxlinux/packages/antix/buster/ buster main nosystemd nonfree 44: deb http://ftp.acc.umu.se/mirror/mxlinux.org/packages/antix/buster/ buster main nosystemd nonfree 45: deb http://mx-linux.ethz.ch/mx-packages/antix/buster/ buster main nosystemd nonfree 46: deb http://mirror.easyname.ch/mxlinux-packages/antix/buster/ buster main nosystemd nonfree 47: deb https://anorien.csc.warwick.ac.uk/mxlinux/packages/antix/buster/ buster main nosystemd nonfree 48: deb http://mxlinux.mirrors.uk2.net/packages/antix/buster/ buster main nosystemd nonfree 49: deb http://mxlinux.petarmaric.com/packages/antix/buster/ buster main nosystemd nonfree 50: deb http://tux.rainside.sk/mxlinux/antix/buster/ buster main nosystemd nonfree 51: deb http://mirror.launtel.net.au/repo/mx/antix/buster/ buster main nosystemd nonfree 52: deb http://mirror.datamossa.io/mxlinux/antix/buster/ buster main nosystemd nonfree 53: deb https://deb.opera.com/opera-stable/ stable non-free 54: deb http://repository.spotify.com/ stable non-free 55: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main 56: deb https://dl.winehq.org/wine-builds/debian/ stretch main Active apt repos in: /etc/apt/sources.list.d/buster-backports.list 1: deb http://deb.debian.org/debian/ buster-backports main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 1: deb http://ftp.br.debian.org/debian/ buster-updates main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian.list 1: deb http://security.debian.org/ buster/updates non-free contrib main 2: deb http://www.deb-multimedia.org/ buster main non-free No active apt repos in: /etc/apt/sources.list.d/onion.list No active apt repos in: /etc/apt/sources.list.d/spotify.list No active apt repos in: /etc/apt/sources.list.d/various.listJanuary 1, 2021 at 2:10 pm #48709Member
Xecure
::OMG! How did that happen? Did you edit the antix.list sources list manually? That is one crazy output!
This is mine:$ inxi -r Repos: Active apt repos in: /etc/apt/sources.list.d/antix.list 1: deb http://mirror.plusserver.com/mxlinux/mxlinux/antix/buster/ buster main nonfree nosystemd Active apt repos in: /etc/apt/sources.list.d/buster-backports.list 1: deb http://deb.debian.org/debian buster-backports main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 1: deb http://ulises.hostalia.com/debian/ buster-updates main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian.list 1: deb http://ulises.hostalia.com/debian/ buster main contrib non-free 2: deb http://security.debian.org/ buster/updates main contrib non-free No active apt repos in: /etc/apt/sources.list.d/local.list No active apt repos in: /etc/apt/sources.list.d/onion.list No active apt repos in: /etc/apt/sources.list.d/various.listSome things that are wrong in your repo list:
1. The most important, and the reason you cannot download debian packages. You have buster main repo disabled! See mine:Active apt repos in: /etc/apt/sources.list.d/debian.list 1: deb http://ulises.hostalia.com/debian/ buster main contrib non-free 2: deb http://security.debian.org/ buster/updates main contrib non-freeI have the security repo (as you do), but I have the main debian repo (the first in the above list) active, but you don’t. Go to Repo Manager (Control Centre > Maintenance), Debian tab, and activate the buster repo.
2. I only activate deb-multimedia when I need it (first time recently, installing kodi). Then I disable it. It is recommended to have it disabled and only activate it when installing something from that specific repo.
3. If you are having trouble with a certain antix repo mirror, use Repo Manager to select a different one close to you. Adding them all to the same list is a bad idea. It will take a lot longer to update the package lists if it has to check each of the mirrors. (Anyway, this is not a real problem if this works for you).
5. You have added the incorrect wine repository.
56: deb https://dl.winehq.org/wine-builds/debian/ stretch main
You are running antiX 19 based on Debian BUSTER, but you added the STRETCH repo instead. If you want the main wine repo for you system, you need to change it to:
deb https://dl.winehq.org/wine-builds/debian/ buster main5. As you manually added:
53: deb https://deb.opera.com/opera-stable/ stable non-free 54: deb http://repository.spotify.com/ stable non-free 55: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main 56: deb https://dl.winehq.org/wine-builds/debian/ stretch mainI would move them to various.list just so you can have a bit more order. This way the antix.list has the antix repos and any other ones can go to a separate file. If at some point you upgrade to antiX 21, having them in a separate various.list or others.list (or whatever-name-you-like.list) file will save you from having to add them again.
Once you activate the main buster Debian repo again, try:
sudo apt update && apt policy wine
and you will be able to see a candidate version for wine. As caprea recommended above, it is better you install it with package installer, just in case it brings in a newer version than the one on the Debian repo.- This reply was modified 2 years, 4 months ago by Xecure. Reason: wine repo note
antiX Live system enthusiast.
General Live Boot Parameters for antiX.January 1, 2021 at 2:23 pm #48716Member
Xecure
::Spam filter got me again 🙁
Until some of our patient moderators can restore it, the most important part is:
You are missing the Debian buster repo. Use Control Centre > Maintenance > Repo Manager, Go to the Debian repo tab, activate the repo (it should be the first in the debian.list) that should be similar to:
deb http://some.repo.com/debian/ buster main contrib non-freeantiX Live system enthusiast.
General Live Boot Parameters for antiX.January 1, 2021 at 3:48 pm #48723Moderator
caprea
::OMG! How did that happen? Did you edit the antix.list sources list manually? That is one crazy output!
My reaction was almost the same and i’m really still curious how this came about. How did you do?
January 1, 2021 at 4:23 pm #48727Member
angel7
::I removed all the .lists from /etc/apt/sources.list.d and only left antix.list in this folder but now I can’t download netbeans(example) I don’t know if I commit a mistake. Sorry.
Yess I add manually in file antix.list
EDIT:
I updated the repo and works now! Thanks so much! Cheers!- This reply was modified 2 years, 4 months ago by angel7.
- This reply was modified 2 years, 4 months ago by angel7.
Attachments:
January 1, 2021 at 4:39 pm #48733Moderator
Brian Masinick
::If Debian sources are missing you will not be able to update a large percentage of the software.
Put Debian back. The main areas where antiX differs are in packages that depend on systemd. antiX nosystemd packages replace those, but most other software comes from Debian and other upstream projects. The nosystemd packages and artwork, plus tools come from antiX.
--
Brian MasinickJanuary 1, 2021 at 5:03 pm #48737Member
angel7
::If you want this list I can pass my antix.list file to you. it’s all works!
- This reply was modified 2 years, 4 months ago by angel7. Reason: syntax error
January 1, 2021 at 6:59 pm #48741Anonymous
::? ? ?
“more is gooder” (and with kitties is more better gooder too!)
.my antix.list file to you. it’s all works!
Are you somehow missing the point?
By having all those mirror servers active in in your sources list,
you are forcing your system to redundantly download identical datasets
~~ wasting bandwidth
~~ wasting drive storage space (consumed by the cumulative, multi megabyte, indexfiles)
~~ likely slow-as-molasses waiting for each update operation to retrieve / unpack / parse / indexJanuary 1, 2021 at 7:48 pm #48748Moderator
Brian Masinick
::What is wrong with the repos included in antiX?
At most, find mirror sites that work best, but don’t duplicate anything,
When in doubt, use the default or ask for specific things that interest you.
I suggest return to the default…
--
Brian MasinickJanuary 1, 2021 at 9:08 pm #48759Member
angel7
::Yes I think is slowly when update I just add from repo antiX 19 manually.
arch linux use all repository from all Country.example: I added the repository from newest wine(5.x) and I had already wine 4.0 on my PC when I try to install wine it ask to remove wine and add the new wine. That’s all!
- This reply was modified 2 years, 4 months ago by angel7.
- This reply was modified 2 years, 4 months ago by angel7.
January 1, 2021 at 9:48 pm #48772Memberseaken64
::angel7, are you pulling our chain?
For most users it is better to stay with the antiX default repos. And for troubleshooting you’ll be on your own to sort out all the cruft that comes from such a sources list. Yours is not the recommended approach. But it your system. Do what you want. But no thanks. I’ll stick with what I have.
seaken64
-
AuthorPosts
- You must be logged in to reply to this topic.
