You are not logged in.

#51 2015-06-28 17:40:17

torleif
Member
Registered: 2009-09-27
Posts: 16

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Ok. Thanks!
I thought Manjaro was fully Arch compatible sad
So no way to use Debtap in manjaro?

Offline

#52 2015-06-28 17:42:30

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Until they fix their pkgfile issue, I'm afraid not

Offline

#53 2015-06-28 17:44:16

torleif
Member
Registered: 2009-09-27
Posts: 16

Re: Debtap - A script to convert .deb packages to Arch Linux packages

helix wrote:

Until they fix their pkgfile issue, I'm afraid not

Ok. Thanks anyway smile

Offline

#54 2015-08-11 17:04:33

tchelovek
Member
Registered: 2015-08-11
Posts: 4

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Hi Helix,

I just gave debtap a quick try, alas to no avail :-(

I end up with :

# debtap -u

==> Synchronizing pkgfile database...
:: Updating 5 repos...
  aur is up to date
  core is up to date
  extra is up to date
  community is up to date
  alarm is up to date

==> Synchronizing debtap database...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
gzip: /var/cache/debtap/debian-packages-files.gz: unexpected end of file
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
gzip: /var/cache/debtap/ubuntu-packages-files.gz: unexpected end of file
Synchronization failed. Exiting...

What am I missing ?

tchelovek

P.S. I'm running on Arch Linux Arm (armv6h)


sapere aude

Offline

#55 2015-08-11 17:21:46

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

1. Synchronization works perfectly fine here. Maybe Debian/Ubuntu servers had been temporarily down at the moment you run "debtap -u" and that's why you got the error message. My advice: simply retry
2. ARM architecture is not supported at the moment by debtap, and also it is a seperate distribution

Offline

#56 2015-08-12 07:40:38

tchelovek
Member
Registered: 2015-08-11
Posts: 4

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Well, Helix,

I ventured into the script, and found the main problem to be the architecture issue, after fixing that, by adding

elif [[ "$(uname -m)" == "armv6l" ]]; then
                    _arch=armhf

( see https://wiki.debian.org/RaspberryPi for reference )

to the architecture check, it still failed due to the ubuntu repo. I just commented the respective lines out for now, ubuntu seems to have changed their page layout at http://packages.ubuntu.com/ , there is no keyword "option" on that page. You may want to check out what has changed.

tchelovek


sapere aude

Offline

#57 2015-08-12 13:37:13

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Feel free to make any suggestions in my github page, as this is not the proper place to discuss about Arch Linux ARM issues

Offline

#58 2015-08-29 23:33:40

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Update 2.2

Changelog:

* Updated virtual packages list
* Fixed typo

Offline

#59 2015-09-12 12:55:13

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Update 2.3.2

Changelog:

* Improved untranslated optional dependencies report.
* Now both scripts show the message "Creation of .PKGINFO file in progress. This may take a few minutes, please wait...". I added this message, because a few people thought that after the license question debtap(-p64) stopped working or it was stuck.
* Minor improvements.

Last edited by helix (2015-09-13 10:45:27)

Offline

#60 2015-09-29 14:38:18

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Update 2.4.1

Changelog:

* Compression of final package is now multi-threaded, making compression much faster
* Code cleaning/minor improvements

Offline

#61 2015-10-05 14:14:45

masoko
Member
From: Santa Fe, Argentina
Registered: 2015-09-22
Posts: 14

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Hello there, I'm having problems converting a .deb file, http://www.cnc.una.py/sl/sle_2.0-4_i386.deb , it's a spanish program to learn how to make basic programs, it doesn't seem to be updated since 2004 so I'm guessing it has a lot of old dependencies.
Thanks for your time.

Offline

#62 2015-10-05 14:45:08

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

If it's really that old it won't probably install and run even on modern Debian/Ubuntu based distributions, unless it depends on static libraries.

Update: I managed to install it and run it following these steps:

1. Remove the line "depend = xlibs>4.1.0" from .PKGINFO when debtap asks you if you want to edit the file with your prefered editor. Save file.
2. Install the generated package.
3. Run program with this command: /usr/sle2/bin/sle2

Last edited by helix (2015-10-05 15:20:33)

Offline

#63 2015-10-05 23:38:10

masoko
Member
From: Santa Fe, Argentina
Registered: 2015-09-22
Posts: 14

Re: Debtap - A script to convert .deb packages to Arch Linux packages

helix wrote:

If it's really that old it won't probably install and run even on modern Debian/Ubuntu based distributions, unless it depends on static libraries.

Update: I managed to install it and run it following these steps:

1. Remove the line "depend = xlibs>4.1.0" from .PKGINFO when debtap asks you if you want to edit the file with your prefered editor. Save file.
2. Install the generated package.
3. Run program with this command: /usr/sle2/bin/sle2

I'm having these dependencies problem, also I'm using a x64 Arch System:

advertencia: no se pudo resolver «glib>=1.2.0», una dependencia de «sle»
advertencia: no se pudo resolver «gtk>=1.2.10», una dependencia de «sle»

Offline

#64 2015-10-05 23:51:05

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

1. Use deptap-p64 instead of debtap to convert this package into a pseudo-64-bit package for Arch Linux
2. Install the missing dependencies from AUR, manually or using an AUR helper (personally I use apacman which also provides AUR dependencies handling when installing local packages)

Offline

#65 2015-10-06 00:03:19

masoko
Member
From: Santa Fe, Argentina
Registered: 2015-09-22
Posts: 14

Re: Debtap - A script to convert .deb packages to Arch Linux packages

helix wrote:

1. Use deptap-p64 instead of debtap to convert this package into a pseudo-64-bit package for Arch Linux
2. Install the missing dependencies from AUR, manually or using an AUR helper (personally I use apacman which also provides AUR dependencies handling when installing local packages)

I'm almost there, I have installed the dependencies from AUR but now I have this issue:

/usr/sle2/bin/sle2: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory

Offline

#66 2015-10-06 00:10:24

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

You need lib32-gtk installed from old AUR,  because it has not been reuploaded

Offline

#67 2015-10-06 01:56:25

masoko
Member
From: Santa Fe, Argentina
Registered: 2015-09-22
Posts: 14

Re: Debtap - A script to convert .deb packages to Arch Linux packages

helix wrote:

You need lib32-gtk installed from old AUR,  because it has not been reuploaded

Sorry, but where can I get the old AUR package?

Offline

#68 2015-10-06 06:28:09

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

git clone --depth=1 git://pkgbuild.com/aur-mirror.git

Offline

#69 2015-10-07 23:57:43

masoko
Member
From: Santa Fe, Argentina
Registered: 2015-09-22
Posts: 14

Re: Debtap - A script to convert .deb packages to Arch Linux packages

helix wrote:
git clone --depth=1 git://pkgbuild.com/aur-mirror.git

You are a genius, now it's working, how can I donate something to you? MANY THANX!

HJKQTFL.png

Offline

#70 2015-10-08 00:15:35

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

You are very welcome!

Offline

#71 2015-10-10 16:10:31

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Minor update 2.4.3

Changelog:

* Added xlibs to ready translated packages names
* Code cleaning/minor improvements

Offline

#72 2015-11-15 22:36:02

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Update 2.5

Changelog

* Forces right permissions for cache directory /var/cache/debtap and its contents for people who experienced issues using debtap(-p64) as normal users, after updating debtap(-p64) database using sudo
* read does not interpret backslash anymore during the creation of .INSTALL metadata file

Last edited by helix (2015-11-15 22:58:51)

Offline

#73 2015-11-19 20:43:46

LyTchet
Member
From: Belgium
Registered: 2015-11-19
Posts: 4
Website

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Hi,

I had to look deep into debtap code to see how Debian concepts match with Arch ones. :-)

(& how to generate packages whitout makepkg getting in the way)

https://bbs.archlinux.org/viewtopic.php … 2#p1579732

Great work ! :-)

Last edited by LyTchet (2015-11-19 20:43:58)

Offline

#74 2015-11-19 20:46:48

helix
Member
Registered: 2013-02-17
Posts: 180

Re: Debtap - A script to convert .deb packages to Arch Linux packages

Thanks man

Offline

#75 2015-11-26 20:13:46

kevdog
Member
Registered: 2013-01-26
Posts: 102

Re: Debtap - A script to convert .deb packages to Arch Linux packages

I'm running into a memory error using debtap:

==> Creating final package...
xz: wickr-2.3.5-1-i686.pkg.tar: Cannot allocate memory
mv: cannot stat ‘*.xz’: No such file or directory

However this is the memory I have:

$ free -h
              total        used        free      shared  buff/cache   available
Mem:           3.5G        521M        1.4G         10M        1.5G        2.9G
Swap:          3.5G          0B        3.5G

Any suggestions?

Offline

Board footer

Powered by FluxBB