You are not logged in.

#1 2010-04-15 19:53:37

Sloshy
Member
Registered: 2010-04-15
Posts: 56

Finding debian/ubuntu dependencies' Arch counterparts.

I'm trying to port Linux Mint tools to Arch packages, but I have a small problem with dependency management. The names of dependencies in Ubuntu/Debian are different than in Arch. I was wondering if somebody could help me with figuring out what packages contain what. Here's the dependency list from the "control" file in the source for mintUpload:

Depends: python (>= 2.5), python (<< 3), python-paramiko (>= 1.7.4), python-gtk2, python-glade2, python-pexpect, mint-common

I figured out that I don't need mint-common since it's just a meta package, and all it includes are scripts to set the mint defaults (firefox as default browser, etc.) and the mint logo. So what I put in the PKGBUILD is this:

depends=('python' 'python-paramiko' 'gnome-python-desktop' 'pygtk' 'python-pexpect')

When I start mintUpload, however, I get this:

$ mintupload
/usr/lib/python2.6/site-packages/Crypto/Hash/SHA.py:6: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  from sha import *
/usr/lib/python2.6/site-packages/Crypto/Hash/MD5.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  from md5 import *
You do not have all the dependencies!

Am I missing a dependency?

Offline

#2 2010-04-15 20:22:22

esters
Member
Registered: 2006-11-04
Posts: 173

Offline

#3 2010-04-15 20:25:57

Sloshy
Member
Registered: 2010-04-15
Posts: 56

Re: Finding debian/ubuntu dependencies' Arch counterparts.

I already have that installed. The program still does not work; thanks though!

Offline

#4 2010-04-15 20:31:04

esters
Member
Registered: 2006-11-04
Posts: 173

Re: Finding debian/ubuntu dependencies' Arch counterparts.

Building packages in a clean chroot or on your current os layout ?

Offline

#5 2010-04-15 21:02:00

Sloshy
Member
Registered: 2010-04-15
Posts: 56

Re: Finding debian/ubuntu dependencies' Arch counterparts.

On my current OS layout.

Offline

#6 2010-04-15 21:49:57

esters
Member
Registered: 2006-11-04
Posts: 173

Re: Finding debian/ubuntu dependencies' Arch counterparts.

Take a look at this - http://wiki.archlinux.org/index.php/Dev … ean_Chroot this might be useful : )

Offline

#7 2010-04-15 22:54:13

Sloshy
Member
Registered: 2010-04-15
Posts: 56

Re: Finding debian/ubuntu dependencies' Arch counterparts.

Thanks! I'll tell you if it helps ^^!

Offline

#8 2010-04-16 01:30:59

Sloshy
Member
Registered: 2010-04-15
Posts: 56

Re: Finding debian/ubuntu dependencies' Arch counterparts.

Okay, I made a package in a chroot like you suggested, but I still got the same error.

Offline

#9 2010-04-16 07:46:21

esters
Member
Registered: 2006-11-04
Posts: 173

Re: Finding debian/ubuntu dependencies' Arch counterparts.

I have a hunch that the script is a bit obsolete, are you sure that it uses python 2.6 on Mint Linux ? Or 2.5 ?

Another way to check if you really have the package is by issuing pacman -Qo /usr/lib/python2.6/site-packages/Crypto/Hash/SHA.py and pacman -Qo /usr/lib/python2.6/site-packages/Crypto/Hash/MD5.py

Offline

#10 2010-04-16 07:57:31

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Finding debian/ubuntu dependencies' Arch counterparts.

This output are just DeprecationWarnings which shouldn't make that script fail. As there is no other output you'll need to have a look at the source code to see what happens.

Offline

Board footer

Powered by FluxBB