Daggenthal Posted July 17, 2020 Author Posted July 17, 2020 1 minute ago, Trick said: I did purge it before. Will do so again.. You can reboot after you purge, if you'd like to, but it's not typically needed
Trick Posted July 17, 2020 Posted July 17, 2020 It got to 60% this time. Same error, looks like... Unpacking libosmesa6:i386 (20.0.8-0ubuntu1~18.04.1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-oL7Kc1/149-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) And yes, I used your custom command you posted above.
Daggenthal Posted July 17, 2020 Author Posted July 17, 2020 (edited) 12 minutes ago, Trick said: It got to 60% this time. Same error, looks like... Unpacking libosmesa6:i386 (20.0.8-0ubuntu1~18.04.1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-oL7Kc1/149-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) And yes, I used your custom command you posted above. This is extremely strange. I'm sitting here running a VM for LM 19.3, and I'll be testing it out myself in a minute to see if I can reproduce that error. Update: So, I just ran the command I had given you inside a fresh install of LM 19.3, and it completed successfully. I think your Linux Mint installation had an error while installing originally, as I also encountered one before, and had to re-wipe my USB and put LM 19.3 back onto it in order for the installation to complete without missing packages. What tool did you use to put Linux Mint onto a USB, or a CD, if you had used one? The one I use all the time is Rufus if I am on Windows. I'm currently searching if there's a way to fix that issue. Edit: Can you please give me what the output of this command, is? Thanks in advance! lsb_release -c Edited July 17, 2020 by ColdZero Added in edit
Trick Posted July 17, 2020 Posted July 17, 2020 I used Etcher in Windows 7 to create the USB stick to install Mint 19.3 Response from the above command was Codename: tricia
Daggenthal Posted July 17, 2020 Author Posted July 17, 2020 (edited) 4 minutes ago, Trick said: I used Etcher in Windows 7 to create the USB stick to install Mint 19.3 Response from the above command was Codename: tricia Alright, so that command verified for me that we're on the same platform. Next, try running this, and let me know if it fixes any issues, or outputs any errors: sudo apt update --fix-missing The only time I've ever used Etcher was to burn an ISO to my SD card for my Rasberry Pi. The majority of the time, I'll use Rufus, as it hasn't given me any issues. The only time I run into errors, is when I run a command in Linux and mess up by accident. Edit: Here's a website I found that may help our issues here. Try running the fixes for DPKG Edited July 17, 2020 by ColdZero
Trick Posted July 17, 2020 Posted July 17, 2020 Ign:1 http://packages.linuxmint.com tricia InRelease Hit:2 http://archive.canonical.com/ubuntu bionic InRelease Hit:3 http://packages.linuxmint.com tricia Release Hit:4 http://la-mirrors.evowise.com/ubuntu bionic InRelease Hit:5 http://la-mirrors.evowise.com/ubuntu bionic-updates InRelease Hit:6 http://la-mirrors.evowise.com/ubuntu bionic-backports InRelease Hit:7 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:9 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu bionic InRelease Hit:11 http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease Fetched 88.7 kB in 1s (63.4 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date.
Daggenthal Posted July 17, 2020 Author Posted July 17, 2020 Just now, Trick said: Ign:1 http://packages.linuxmint.com tricia InRelease Hit:2 http://archive.canonical.com/ubuntu bionic InRelease Hit:3 http://packages.linuxmint.com tricia Release Hit:4 http://la-mirrors.evowise.com/ubuntu bionic InRelease Hit:5 http://la-mirrors.evowise.com/ubuntu bionic-updates InRelease Hit:6 http://la-mirrors.evowise.com/ubuntu bionic-backports InRelease Hit:7 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:9 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu bionic InRelease Hit:11 http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease Fetched 88.7 kB in 1s (63.4 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Alrighty, thank you; Now try the ones for DPKG from that website and let me know if it does anything. Once you run those, re-purge WINE, reboot, and re-run my command again. If it fails yet again, it's most likely you may have encountered errors during installation, sadly.
Trick Posted July 17, 2020 Posted July 17, 2020 Sorry. "Try the ones for DPKG from that website" - what ones and what website?
Daggenthal Posted July 17, 2020 Author Posted July 17, 2020 (edited) 1 minute ago, Trick said: Sorry. "Try the ones for DPKG from that website" - what ones and what website? Ah, you missed it by accident, it's okay! This link right here. I had posted it a few replies earlier. I should've changed the color to make it more noticeable. Start where it says "With DPKG": https://www.maketecheasier.com/fix-broken-packages-ubuntu/ Edited July 17, 2020 by ColdZero
Trick Posted July 17, 2020 Posted July 17, 2020 (edited) 6 minutes ago, ColdZero said: Ah, you missed it by accident, it's okay! This link right here. I had posted it a few replies earlier. I should've changed the color to make it more noticeable. Start where it says "With DPKG": https://www.maketecheasier.com/fix-broken-packages-ubuntu/ It did nothing between those commands. Trick:~$ sudo dpkg --configure -a Trick:~$ sudo dpkg -l | grep ^..r Trick:~$ sudo apt clean Trick:~$ sudo apt update And there was nothing to update. Edited July 17, 2020 by Trick
Daggenthal Posted July 17, 2020 Author Posted July 17, 2020 8 minutes ago, Trick said: It did nothing between those commands. Trick:~$ sudo dpkg --configure -a Trick:~$ sudo dpkg -l | grep ^..r Trick:~$ sudo apt clean Trick:~$ sudo apt update Can you upload your DPKG log file on here for me, please, so I can go through it and see if it printed any other description for the error? It's located in /var/log/ as dpkg.log
Daggenthal Posted July 18, 2020 Author Posted July 18, 2020 (edited) So I went through your logs and couldn't find any errors, and then I went through my own to see what I can do. 27 minutes ago, Trick said: Here you go... dpkg.log 2.03 MB · 1 download One thing I learned, is that we could manually install libosmesa6:i386 via sudo. sudo apt install libosmesa6:i386 First, try to remove it with: sudo apt remove libosmesa6:i386 and then try to manually re-install it, and see if you encounter any errors. Sorry for the late reply, as I was busy and wanted to try it out myself before I had you try it. Edit: I also learned that we can find what I'm looking for in /var/log/apt/history.log and /var/log/apt/term.log. If you could upload those both, as they both correlate with each other, I could then find the point where it failed. Edited July 18, 2020 by ColdZero
Trick Posted July 18, 2020 Posted July 18, 2020 No worries. Had to have dinner. That file was not installed according to the first command. I installed and didn't see any errors. history.log term.log
Daggenthal Posted July 18, 2020 Author Posted July 18, 2020 3 minutes ago, Trick said: No worries. Had to have dinner. That file was not installed according to the first command. I installed and didn't see any errors. history.log 150.01 kB · 0 downloads term.log 266.62 kB · 0 downloads That's okay, I was busy as well. If it installed correctly, try re-running my installation command that I posted a while back? Your only issue (that I could tell before I read these logs) was that file, so try to give it another shot? I just finished reading the logs, and it installed properly with no issues as you stated; Try the custom command I had given you, and see if it fully installs this time. Now that we already have that package installed, it will skip over it.
Trick Posted July 18, 2020 Posted July 18, 2020 As it was installing, I caught this error as it was scrolling... dpkg: error processing archive /tmp/apt-dpkg-install-9aMDPq/145-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb (--unpack): trying to overwrite shared '/lib/udev/rules.d/60-libsane1.rules', which is different from other instances of package libsane1:i386 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Selecting previously unselected package libsasl2-modules:i386. And it failed again... Selecting previously unselected package libosmesa6:amd64. Preparing to unpack .../161-libosmesa6_20.0.8-0ubuntu1~18.04.1_amd64.deb ... Unpacking libosmesa6:amd64 (20.0.8-0ubuntu1~18.04.1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-9aMDPq/145-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Daggenthal Posted July 18, 2020 Author Posted July 18, 2020 4 minutes ago, Trick said: As it was installing, I caught this error as it was scrolling... dpkg: error processing archive /tmp/apt-dpkg-install-9aMDPq/145-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb (--unpack): trying to overwrite shared '/lib/udev/rules.d/60-libsane1.rules', which is different from other instances of package libsane1:i386 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Selecting previously unselected package libsasl2-modules:i386. And it failed again... Selecting previously unselected package libosmesa6:amd64. Preparing to unpack .../161-libosmesa6_20.0.8-0ubuntu1~18.04.1_amd64.deb ... Unpacking libosmesa6:amd64 (20.0.8-0ubuntu1~18.04.1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-9aMDPq/145-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Aaaah, okay, I get it! You previously installed a program before this, and it's trying to overwrite what was previously installed, and fails at it because it doesn't want to force it. I would tell you to force it, but it could mess whatever program up that will try to use it. Honestly, I'm unsure how to fix this, as I've never experienced it. People suggest removing the package / folder, but I'd rather not suggest that, as I don't know what you use it for, and therefore I'd rather not encourage you to mess something up by accident. Apologies, but I'm at a loss here at the moment. I'll let you know if I can figure something out!
Trick Posted July 18, 2020 Posted July 18, 2020 Well, it should just be from the installation tonight. As I said, this 19.3 build is completely new - 3 days ago and I have not tried installing WINE until today.
Daggenthal Posted July 18, 2020 Author Posted July 18, 2020 1 minute ago, Trick said: Well, it should just be from the installation tonight. As I said, this 19.3 build is completely new - 3 days ago and I have not tried installing WINE until today. That's strange then. I wonder if Etcher didn't include all the files when it was burning 19.3 to the ISO, then, as that's when I had issues as well and ended up using Rufus instead.
Trick Posted July 18, 2020 Posted July 18, 2020 (edited) Strange. Maybe I should give Rufus a try and do another nuke and pave? Do you have the link to the Rufus site? Want to make sure I get the right one and not some malware lookalike site. And it looks like I might need help with the settings. Etcher has, like, 3 buttons. BTW, Etcher is the program recommended by Linux Mint on their site for creating the USB. Edited July 18, 2020 by Trick
Daggenthal Posted July 18, 2020 Author Posted July 18, 2020 Just now, Trick said: Strange. Maybe I should give Rufus a try and do another nuke and pave? It's what I would do, but if I was you I'd re-download the ISO to make sure that the one you have isn't corrupted by any chance. As soon as you install Linux Mint 19.3, go ahead and run this command that I use all the time to update my installation. It updates, upgrades, and removes any packages that should be removed. sudo apt update -y && sudo apt upgrade -y --allow-downgrades && sudo apt autoremove -y Next, you'll run my Wine and Lutris install script. It finds your distro, and installs Wine and Lutris for that variant / flavor. If it runs into any errors, please, let me know! Wine_and_Lutris_script.sh What we need to do, is CD to where it's downloaded, give it permission to run, and then run it. I've commented every line that matters, for when people wanted to read the source code. Feel free to modify it as you see fit. What it does is find your version of Linux that you are using, the Distro, and then install the necessary files for it; You can read that in the file for yourself, if you'd like. Anyways, to run it after you download it, open up the Terminal and do this, presuming that it's downloaded to the Downloads folder. cd ~/Downloads/ sudo chmod +x ./Wine_and_Lutris_script.sh ./Wine_and_Lutris_script.sh The first one changes directory. The second one gives it permission to execute, and the third one executes it. It shouldn't run into any issues, if you first run that update command that I posted above the script. So, first, after installation, run that "sudo apt update..." that I posted. Once that's done, download the script, and then run it with the steps I've provided you. Let me know if it works!
Trick Posted July 18, 2020 Posted July 18, 2020 Do I really need to redownload? I went through the whole integrity and authentication check. Wouldn’t the integrity check have notified me of a corrupt download?
Daggenthal Posted July 18, 2020 Author Posted July 18, 2020 3 hours ago, Trick said: Do I really need to redownload? I went through the whole integrity and authentication check. Wouldn’t the integrity check have notified me of a corrupt download? Yeah, it would, but I (personally) would have just re-downloaded it; You don't have to, though! Let me know how it turns out!
Trick Posted July 18, 2020 Posted July 18, 2020 Did you have that link to Rufus, or do you think it’s okay to use Etcher since that’s what the Linux Mint site recommends?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now