![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Dell Ubuntu Support Got a Dell powered by Ubuntu? Or thinking about getting one? Discuss it here. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Mar 2007
My beans are hidden!
Ubuntu 8.04 Hardy Heron
|
HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
I am reposting this with more visibility. You can easily repackage any deb outside the repos into an lpia one. The reason you want lpia packages instead of forcing the i386, is that while the former will show up as an installed package on synaptic, the later won't, so good luck uninstalling it. For example here's the directions to convert the stock i386 package for Skype into an lpia package:
1. Download the Ubuntu version of Skype 2. Use the Archive manager to uncompress it. Alternatively, right click on the deb package and select "extract here" 3. Rename the uncompressed folder, by changing the ending from i386 to lpia. (the folder should be now named: skype-debian_2.0.0.72-1_lpia) 4. Open the folder 5. There are 3 files. remove the "debian-binary" file 6. Decompress "control.tar.gz". There are tree files in it. 7. Make a folder "DEBIAN" in the main folder, and placed the 3 files you just decompressed inside it. 8. Open one of the files inside DEBIAN, "control". Change the line "Architecture: i386" into "Architecture: lpia" 9. Open the other archive "data.tar.gz". There is a folder "." inside. Open it (double click). Select both the folders (usr and etc) and select uncompress. 10. Remove the files "control.tar.gz" and "data.tar.gz" 11. You should now have your main folder with the following inside: DEBIAN folder with tree text files in it (conffiles, control, md5sums); a "usr" folder and a "etc" folder. 12. You are now ready to prepare your lpia deb folder. 13. From the command line, go to the folder that contains your main skype folder you just prepared (most likely named: skype-debian_2.0.0.72-1_lpia). 14. type: dpkg --build skype-debian_2.0.0.72-1_lpia 15. Your deb package is ready. Double click on it and follow instruction. After installation it should appear in Synaptic, and from there you can remove it at any time. 16. Enjoy!!! This has been tested (and currently working) with: Skype, Opera, Picasa, Adobe Flash 10. |
|
|
|
|
|
#2 |
|
Chocolate Ubuntu Mocha Blend
![]() |
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
This is something most of us new mini9 owners need to know. Thanks for the tut, it needs put somewhere handy at least while the min9 is hitting the market.
Subscribing to this thread so I can link it in the future. Thanks again! |
|
|
|
|
|
#3 | |
|
First Cup of Ubuntu
![]() Join Date: Oct 2008
Beans: 6
|
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
Quote:
sudo dpkg --force-architecture -i (route to my picasa deb) and it has worked perfecty well. This seems a much easier method than the one reported above and plan to keep usisng it with other debs. Should I expect any problem with it? Thanks. |
|
|
|
|
|
|
#4 | |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 5
|
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
Quote:
|
|
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
Beans: 5
|
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
There is an Italian bash script that automates this process of converting i386 debs to lpia, available at http://www.blogwol.com/2008/11/08/sc...er-intel-atom/. Of course it works fine on other language systems. Just put the script in your path, and it will convert all the .debs in the directory you run it from.
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2008
Beans: 11
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
These directions worked beautifully and this is from a person who received the mini about 2 weeks ago, never worked with Linux or Ubuntu until then and still was able to make it work with these excellent directions. Thank you so much for sharing your knowledge.
Last edited by runningdoc; December 12th, 2008 at 01:41 AM.. Reason: problem solved |
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Mar 2007
My beans are hidden!
Ubuntu 8.04 Hardy Heron
|
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
I took liberty of translating the script, which does pretty much what the howto does, but automatically. I also fixed it so that it converts ONLY i386 packages (the original one converts packages with any architecture, when only i386 can be really converted).
To run the script: 1. Copy the script in the same folder as your i386 packages 2. Run the script either from the command line or by double clicking on it. This last step requires you to change permissions to make it executable (right click on the script file and check the "Allow executing file as program" in the permission tab. 3. Enjoy. |
|
|
|
|
|
#8 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
This is all great, bit I wish Canonical would support full-blown lpia repositories so we could install & update freely.
Then we could choose from x86 x64 PPC lpia Or am I the only one?
__________________
Need more useless stuff to read on teh internetz? Kubuntu user 21794 Linux user 471964 |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2008
Beans: 1
|
Re: HOWTO: Repackage i386 deb for in lpia (for Dell Mini9)
Just used feranick's procedure.
Thanks so much! |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|