LMDE BREAKAGES - (Tracking SID!) -{CLOSED}

Post your update and upgrade related errors here
Forum rules
Before you post please read this

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Fri Jun 29, 2012 8:50 pm

Brian49 wrote:Greg - I thought I'd give this a try, but I fell at the first hurdle. Installing wine64-bin-unstable involves removing wine-bin-unstable, which in turn means that winecfg is no longer present on the system. As I'm only really interested in the unstable version of Wine, this move looks like a non-starter at the moment.


Brian,

The version supplied is 1.4.1 - but the good bit is that it is a newer version of wine that is now in the Debian repositories and will now update through normal channels.

I was using 1.5.5 from http://dev.carbon-project.org/debian/wine-unstable/ but it was buggy for me. Version 1.4.1 works well.

Once you convert to multiarch then all the wine programs have 32 as a suffix so winecfg becomes winecfg32 and so on. I then created two symlinks wincfg -> winecfg32 and wine -> wine32 and the re-installed my windows programs.

I should also point out that my system as it stands was installed from a Debian Testing Multiarch snapshot so it was nicely set up for multiarch from the beginning.

For every one else, converting to multiarch is fraught with danger. Back up first.
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Linux Mint is funded by ads and donations.
 

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby Brian49 on Sun Jul 01, 2012 9:18 am

Greg - now I'm even more bemused! Is there an Idiot's Guide to this somewhere? All I've found by googling are technical discussions between developers. Many thanks.
Brian49
Level 5
Level 5
 
Posts: 601
Joined: Thu Oct 29, 2009 2:27 pm

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Sun Jul 01, 2012 8:23 pm

Brian49 wrote:Greg - now I'm even more bemused! Is there an Idiot's Guide to this somewhere? All I've found by googling are technical discussions between developers. Many thanks.


I have not seen any HowTos either other than a general multiarch HowTo. I cannot provide a step by step guide as I just did it without noting down anything. So here is the rough guide for all those who are interested.

This is not just about getting Wine into 64bit Debian, but converting a 64bit Debian system to Multiarch. It is not a necessary thing to do, only attempt it if you need to use a 32bit program and you are willing to risk trashing your system.

WARNING: I tried this six months ago and utterly trashed my set up, all I can say is that this time it worked. My system is now based on a Debian Testing Multiarch install using AMD64 kernel and then dist-upgraded to Sid and Mintyfied later. Not that it should matter, but I also run a Liquorix 3.4 kernel. This is for 64bit users and is unnecessary if you run 32bit.

Uninstall your current wine

Uninstall ia32-libs-* <- this will possibly remove some programs that will need to be put back later eg Skype. Picasa, Gooogle Earth - anything that uses ia32-libs or wine

install wine64-bin - open terminal and run winecfg and it will not run, but it will pop up instructions

OR (copied from the deb file)

sudo dpkg --add-architecture i386
sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
sudo apt-get update
sudo apt-get install wine-bin:i386

Use cut and paste as the spaces matter. If decide you want to go back and remove i386 then look here for details http://wiki.debian.org/Multiarch/HOWTO

Your /etc/apt/sources.list entries will now look like this
deb [arch=amd64,i386] http://http.us.debian.org/debian/ unstable main contrib non-free <- so amd64 is your primary and i386 is the secondary

It is better at this point to use Synaptic and search for wine. One by one add the win32 packages (the libwine packages as well), starting with wine-bin:i386. I did find a few dependency issues that will probably disappear with updates eg libwine-sane:i386 wanted to remove sane from my system so I did not install it. The install process will add many many i386 libs to your now multiarch system to replace what was in ia32-libs. If you look at your file system you will see that you have /lib, /lib32 and /lib64. The /lib32 folder will be filled up in this process.

Once I had wine32 installed I removed the dummy package wine64-bin

NOTE no longer necessary -> lastly I setup two symlinks in /usr/bin. They are wine ->wine32 and winecfg->winecfg32

Then put back any programs that were removed in the process.

There will now be a menu entry for wine configuration or open a terminal and run winecfg or winecfg32 and set it up as required. Your old setup should translate accross, but check it anyway.
Last edited by GregE on Tue Aug 07, 2012 11:51 pm, edited 1 time in total.
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby Brian49 on Mon Jul 02, 2012 6:06 am

GregE wrote:
sudo dpkg --add-architecture i386
sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
sudo apt-get update

These commands go through apparently without errors, but they don't result in the i386 packages becoming available to me for installation in Synaptic. Any ideas about that, please? Thanks again.
Brian49
Level 5
Level 5
 
Posts: 601
Joined: Thu Oct 29, 2009 2:27 pm

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Mon Jul 02, 2012 7:10 am

Brian49 wrote:
GregE wrote:
sudo dpkg --add-architecture i386
sudo sed -i 's/deb\ /deb\ [arch=amd64,i386]\ /g' /etc/apt/sources.list
sudo apt-get update

These commands go through apparently without errors, but they don't result in the i386 packages becoming available to me for installation in Synaptic. Any ideas about that, please? Thanks again.


My sources - make sure you have main contrib and non-free. wine32-bin:i386 comes from testing. If this does not answer your question check to see if you have the multiarch-support package installed.

deb [arch=amd64,i386] http://http.us.debian.org/debian/ testing main contrib non-free
deb-src http://http.us.debian.org/debian/ testing main contrib non-free
deb [arch=amd64,i386] http://http.us.debian.org/debian/ unstable main contrib non-free
deb-src http://http.us.debian.org/debian/ unstable main contrib non-free
deb [arch=amd64,i386] http://http.us.debian.org/debian/ experimental main contrib non-free
deb-src http://http.us.debian.org/debian/ experimental main contrib non-free
deb [arch=amd64,i386] http://www.deb-multimedia.org sid main non-free
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Mon Jul 02, 2012 7:26 am

Brian, did you try

sudo apt-get install wine-bin:i386

It may be something to do with me have the Debian version of Synaptic configuration rather than a Mint one.
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby Brian49 on Mon Jul 02, 2012 9:04 am

Greg - no luck, I'm afraid. No matter what I do, I can't get access to any i386 package. There's probably a config setting somewhere, but I'm darned if I can locate it.
Brian49
Level 5
Level 5
 
Posts: 601
Joined: Thu Oct 29, 2009 2:27 pm

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Mon Jul 02, 2012 7:47 pm

Brian49 wrote:Greg - no luck, I'm afraid. No matter what I do, I can't get access to any i386 package. There's probably a config setting somewhere, but I'm darned if I can locate it.


sudo dpkg --print-foreign-architectures

should return i386, if it does not then there is something fundamentally wrong with your multiarch.
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby Brian49 on Tue Jul 03, 2012 5:33 am

Greg - it doesn't return anything. I tried reinstalling multiarch-support - same result. A web search for solutions to this just points me back to your post and nowhere else! I don't see anything helpful in /etc/dpkg/dpkg.cfg.
Brian49
Level 5
Level 5
 
Posts: 601
Joined: Thu Oct 29, 2009 2:27 pm

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Tue Jul 03, 2012 7:04 am

Brian49 wrote:Greg - it doesn't return anything. I tried reinstalling multiarch-support - same result. A web search for solutions to this just points me back to your post and nowhere else! I don't see anything helpful in /etc/dpkg/dpkg.cfg.


Brian, I notice no one else is speaking up. There must be other people who are interested in Multiarch.

Did you install from an LMDE install and then upgrade? The main difference I see, or at least think, is that my system was specifically installed from a Debian Testing Multiarch snapshot, then dist-upgraded to Sid. During the install I chose amd64 as the install and then I added i386 a few months down the track. Ubuntu, and thus Linuxmint main edition, has had Multiarch support for some time.

From my reading of various blogs, Wine on Debian is being converted to Multiarch. And they plan to eventually drop ia32-libs as an installable package. So some time soon it will be Multiarch or forget Wine (and other repackaged 32bit programs like Skype). When I say soon, time scales in Debian are glacial so ia32-libs will be in Wheezy - so a couple of years to go!

If you are feeling adventurous, maybe install Debian Testing multiarch in a Virtualbox VM and convert it and see how you go.

The only other problem candidate I can think of is dpkg, which needs to be a fairly new version to support multiarch. But if you are tracking Sid then you should have a new version already.
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby xircon on Tue Jul 03, 2012 7:07 am

Don't you hate that! Googling for a problem and the only useful link is back to your post reporting the problem.

If I update ia32libs it wants to remove too much, will I be able to reinstall everything? Or should I just pin it, I don't use Wine.
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GeneC on Tue Jul 03, 2012 7:26 am

Good Morning Folks :)

I must admit to being a bit unclear on all this 'multiarch' stuff. Seems to be centered around 'wine'. I personally do not use Wine. I am fully updated in SID with no apparent problems whatsoever.
What if any advantage would it be to me to have multiarch functional.?
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

LMDE (Cinnamon)
Debian (Gnome Shell 3.8.4 - Testing)
Siduction (XFCE -Debian SID)
Makulu 5 (XFCE-Testing)
User avatar
GeneC
Level 6
Level 6
 
Posts: 1460
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby xircon on Tue Jul 03, 2012 7:30 am

I think I needed ia32 originally for fglrx video drivers, but I do now have Google-earth and tv-maxe installed and I do use them.
Dell Inspiron N5010 / Core I5 / ATI Mobility Radeon HD5400, LMDE Tracking Sid & Cinnamon Desktop
"Ubuntu is an African word meaning 'I can't configure Debian'"
User avatar
xircon
Level 5
Level 5
 
Posts: 775
Joined: Sun Aug 01, 2010 7:59 am
Location: Sheffield, UK

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Tue Jul 03, 2012 7:48 am

GeneC wrote:Good Morning Folks :)

I must admit to being a bit unclear on all this 'multiarch' stuff. Seems to be centered around 'wine'. I personally do not use Wine. I am fully updated in SID with no apparent problems whatsoever.
What if any advantage would it be to me to have multiarch functional.?


There are a lot of wikis and blogs on the advantages of multiarch over using ia32-libs. The main one is that ia32-libs is the single biggest source package in the amd64 repositories. To install a 32bit program to run under 64bit you have to have the entirety of ia32-libs, not just the few libs you need. It is not just Wine but all 32bit programs that are supplied in amd64 packages and require ia32-libs as a dependency. Apart from Wine the only other 32bit package I use is Skype and once I removed ia32-libs and converted to multiarch I was able to reinstall and run Skype without the dependency of ia32-libs. I just realised my Canon printer driver is 32bit and will need to be reinstalled, so there is another one.

I see the main thing as just keeping up with the changing layout of Debian. If you only run real 64bit programs on a 64bit system then all of this is unnecessary. For Wine users 64bit Debian has been an issue for years. Wine was just not packaged and third party repos were required. Now, Wine is in through Multiarch and upgradeable through normal channels.

Understanding Multiarch is not necessary for now, but it is the way Debian is heading and it will be the default setup of Wheezy. Whether or not you activate i386 will depend on need.

Sorry if that is a bit soapboxy, I just set out to fix a problem with a crappy old 1990s game and one thing lead to another.

:)
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby Brian49 on Tue Jul 03, 2012 8:02 am

I got the basic multiarch issue sorted out. It seems the command "sudo dpkg --add-architecture i386" had failed to take effect previously, but it did so this time round.

I then ran the command to install wine-bin:i386, which involved also installing dozens of new packages. The operation appeared to go through successfully, but then I found that I couldn't lauch any applications, either in Wine or anywhere else, and I couldn't reboot to the desktop. So I've restored my system from a backup.

I'm going to shelve this for the time being - too much hassle!

Greg - many thanks once again for being so helpful.
Brian49
Level 5
Level 5
 
Posts: 601
Joined: Thu Oct 29, 2009 2:27 pm

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GeneC on Tue Jul 03, 2012 8:02 am

Thanks for the explanation Greg.
A bit too lazy to research it myself... :lol:. Perhaps because I don't use any 32 bit packages on SID. I have another partition with32bit SolusOS that I run Google Earth, and I believe that is the only 32 bit package I would use here. I had forced 32bit DraftSight (CAD) to run in the past, but no longer have it installed, so will just wait for 'multiarch' to take is normal upgrade course in SID. :wink:
What's SKYPE? :? (kidding)
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

LMDE (Cinnamon)
Debian (Gnome Shell 3.8.4 - Testing)
Siduction (XFCE -Debian SID)
Makulu 5 (XFCE-Testing)
User avatar
GeneC
Level 6
Level 6
 
Posts: 1460
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby Regulus74 on Tue Jul 03, 2012 8:07 am

I use only Skype...what should I do exactly? :mrgreen:
Arch Linux user
User avatar
Regulus74
Level 2
Level 2
 
Posts: 62
Joined: Mon Oct 03, 2011 6:07 pm
Location: Mantova - Italy

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Tue Jul 03, 2012 8:39 am

xircon wrote:I think I needed ia32 originally for fglrx video drivers, but I do now have Google-earth and tv-maxe installed and I do use them.


I just tried Google Earth and regretted it. It took me 15 minutes to fix up the problems it caused. Not the least of which was trying to uninstall a running kernel. I think that you should not install 32 bit versions of programs directly. Not everything is ready for multiarch.

Just for info, most of the functions of Google Earth are now integrated into Google Maps - just click on satellite in the top right corner.
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby GregE on Tue Jul 03, 2012 8:43 am

Regulus74 wrote:I use only Skype...what should I do exactly? :mrgreen:


If it is working OK, perhaps leave it alone. Not much to be gained yet.

If you do want to try converting to multiarch then I can confirm that the amd64 deb downloaded directly from Skype does work without trying to put back ia32-libs.
User avatar
GregE
Level 4
Level 4
 
Posts: 440
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: LMDE BREAKAGES - (Tracking SID!) - Jun 14th

Postby Regulus74 on Tue Jul 03, 2012 2:11 pm

GregE wrote:
Regulus74 wrote:I use only Skype...what should I do exactly? :mrgreen:


If it is working OK, perhaps leave it alone. Not much to be gained yet.

If you do want to try converting to multiarch then I can confirm that the amd64 deb downloaded directly from Skype does work without trying to put back ia32-libs.


I converted my system to multiarch, I removed all lib32* packages and ia32-libs then I installed Skype i386 (amd64 version required ia32-libs)...57 packages installed :shock: :mrgreen: but no ia32-libs or lib32* packages. 8)
Arch Linux user
User avatar
Regulus74
Level 2
Level 2
 
Posts: 62
Joined: Mon Oct 03, 2011 6:07 pm
Location: Mantova - Italy

Linux Mint is funded by ads and donations.
 
PreviousNext

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 5 guests