Olá. Quando você usa o apt para baixar os fontes eles são baixados no diretório onde você realizou o comando. Eu lhe indico usar o diretório /usr/src para receber os arquivos: $ cd /usr/src $ apt-get source iptables O pacote será descompactado nesse diretório e os patchs do debian serão aplicados. Então entre nesse diretório e digite $ ./debian/rules binary ou $ fakeroot dpkg-buildpackage -b -us -uc O pacote será compilado. Espero ter ajudado. Abraço. Fabiano.
Em Ter, 2007-05-15 às 22:19 -0300, Leandro Moreira escreveu: > Caros, > Preciso baixar os fontes de alguns programas, quanto descomento o fonte > do source em meu sources.list: > > # Uncomment if you want the apt-get source function to work > deb-src http://http.us.debian.org/debian stable main contrib non-free > deb-src http://non-us.debian.org/debian-non-US stable/non-US main > contrib non-free > > > Ao atualizar a lista e instalar os fontes do pacote, estou recebendo o > seguinte erro: > > gw:/etc/apt# apt-get update > Get:1 http://http.us.debian.org stable Release.gpg [378B] > Get:2 http://security.debian.org stable/updates Release.gpg [189B] > Hit http://http.us.debian.org stable Release > Get:3 http://security.debian.org stable/updates Release [22.5kB] > Ign http://http.us.debian.org stable/main Packages/DiffIndex > Ign http://http.us.debian.org stable/contrib Packages/DiffIndex > Ign http://http.us.debian.org stable/non-free Packages/DiffIndex > Get:4 http://http.us.debian.org stable/main Sources [1214kB] > Ign http://security.debian.org stable/updates/main Packages/DiffIndex > Ign http://security.debian.org stable/updates/contrib Packages/DiffIndex > Ign http://security.debian.org stable/updates/non-free Packages/DiffIndex > Get:5 http://security.debian.org stable/updates/main Packages [58.0kB] > Hit http://security.debian.org stable/updates/contrib Packages > Hit http://security.debian.org stable/updates/non-free Packages > Get:6 http://http.us.debian.org stable/contrib Sources [18.4kB] > Get:7 http://http.us.debian.org stable/non-free Sources [28.1kB] > Get:8 http://http.us.debian.org stable/main Packages [4295kB] > Hit http://http.us.debian.org stable/contrib Packages > Get:9 http://http.us.debian.org stable/non-free Packages [83.6kB] > Fetched 5720kB in 1m34s (60.6kB/s) > Reading package lists... Done > gw:/etc/apt# apt-get source iptables > Reading package lists... Done > Building dependency tree... Done > Skipping already downloaded file 'iptables_1.3.6.0debian1-5.dsc' > Skipping already downloaded file 'iptables_1.3.6.0debian1.orig.tar.gz' > Skipping already downloaded file 'iptables_1.3.6.0debian1-5.diff.gz' > Need to get 0B of source archives. > Skipping unpack of already unpacked source in iptables-1.3.6.0debian1 > > Já removi o apt e o reinstalei, alguem pode me ajudar ? > > Att. > > -- > Leandro Moreira > Linux Networking > Telefone: +55 (32) 9197-7909 > E-mail/MSN: [EMAIL PROTECTED] > www.leandromoreira.eti.br > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

