PDA

View Full Version : apply quota patch to postfix


tuananh87vn
24th September 2009, 07:22
i'm installing quota patch for the postfix on debian lenny, however i cannot get the postfix source code to apply the patch

each time i try
apt-get souce postfix

i get the message:
E: Could not open file /var/lib/apt/lists/ftp.debian-unofficial.org_debian_dists_lenny_main_source_Sour ces - open (2 No such file or directory)

how can apply patch to postfix then?

how was that? =.=

falko
25th September 2009, 12:59
Can you run apt-get update and try again?

tuananh87vn
25th September 2009, 14:56
well, before getting started with the guide, I run 'apt-get update' then 'apt-get upgrade' to make sure that everything is up2date

but still i doesn't work =.=

falko
26th September 2009, 15:02
What's in /etc/apt/sources.list?

tuananh87vn
30th September 2009, 21:35
here is the content of /etc/apt/sources.list


#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

# added

# general packages for lenny
deb http://http.us.debian.org/debian lenny main contrib non-free
deb-src http://http.us.debian.org/debian lenny main contrib non-free

# unofficial
deb http://ftp.debian-unofficial.org/debian lenny main contrib non-free restricted
deb-src http://ftp.debian-unofficial.org/debian lenny main contrib non-free restricted

# multimedia
deb http://www.debian-multimedia.org lenny main
deb-src http://www.debian-multimedia.org lenny main

falko
1st October 2009, 18:13
Looks ok.
What's the output of ls -la /var/lib/apt/lists/?

tuananh87vn
1st October 2009, 18:42
here is the output:

total 37372
drwxr-xr-x 3 root root 4096 2009-09-25 07:58 .
drwxr-xr-x 4 root root 4096 2009-09-29 15:42 ..
-rw-r--r-- 1 root root 1965 2006-06-05 15:25 ftp.debian-unofficial.org_debian_dists_stable_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 537 2006-06-05 15:26 ftp.debian-unofficial.org_debian_dists_stable_contrib_source_ Sources
-rw-r--r-- 1 root root 39179 2006-06-07 02:26 ftp.debian-unofficial.org_debian_dists_stable_main_binary-i386_Packages
-rw-r--r-- 1 root root 10596 2006-06-07 02:27 ftp.debian-unofficial.org_debian_dists_stable_main_source_Sou rces
-rw-r--r-- 1 root root 19565 2006-06-21 01:01 ftp.debian-unofficial.org_debian_dists_stable_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 15231 2006-06-21 01:01 ftp.debian-unofficial.org_debian_dists_stable_non-free_source_Sources
-rw-r--r-- 1 root root 14117 2006-06-21 01:01 ftp.debian-unofficial.org_debian_dists_stable_Release
-rw-r--r-- 1 root root 24568 2006-06-10 11:43 ftp.debian-unofficial.org_debian_dists_stable_restricted_bina ry-i386_Packages
-rw-r--r-- 1 root root 12965 2006-06-10 11:43 ftp.debian-unofficial.org_debian_dists_stable_restricted_sour ce_Sources
-rw-r--r-- 1 root root 314913 2009-08-15 08:36 http.us.debian.org_debian_dists_lenny_contrib_bina ry-i386_Packages
-rw-r--r-- 1 root root 166838 2009-06-27 13:02 http.us.debian.org_debian_dists_lenny_contrib_sour ce_Sources
-rw-r--r-- 1 root root 24358983 2009-09-04 15:19 http.us.debian.org_debian_dists_lenny_main_binary-i386_Packages
-rw-r--r-- 1 root root 10371439 2009-09-04 15:40 http.us.debian.org_debian_dists_lenny_main_source_ Sources
-rw-r--r-- 1 root root 417615 2009-09-04 15:19 http.us.debian.org_debian_dists_lenny_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 195522 2009-09-04 15:40 http.us.debian.org_debian_dists_lenny_non-free_source_Sources
-rw-r--r-- 1 root root 73630 2009-09-04 17:11 http.us.debian.org_debian_dists_lenny_Release
-rw-r----- 1 root root 0 2009-02-21 04:43 lock
drwxr-xr-x 2 root root 4096 2009-09-25 07:58 partial
-rw-r--r-- 1 root root 1261618 2009-09-24 08:23 security.debian.org_dists_lenny_updates_main_binar y-i386_Packages
-rw-r--r-- 1 root root 216854 2009-09-24 08:24 security.debian.org_dists_lenny_updates_main_sourc e_Sources
-rw-r--r-- 1 root root 40771 2009-09-24 08:26 security.debian.org_dists_lenny_updates_Release
-rw-r--r-- 1 root root 29023 2009-09-24 08:05 volatile.debian.org_debian-volatile_dists_lenny_volatile_main_binary-i386_Packages
-rw-r--r-- 1 root root 5527 2009-09-24 08:05 volatile.debian.org_debian-volatile_dists_lenny_volatile_main_source_Sources
-rw-r--r-- 1 root root 40723 2009-09-24 08:05 volatile.debian.org_debian-volatile_dists_lenny_volatile_Release
-rw-r--r-- 1 root root 343895 2009-09-21 13:12 www.debian-multimedia.org_dists_lenny_main_binary-i386_Packages
-rw-r--r-- 1 root root 2023 2009-09-21 13:12 www.debian-multimedia.org_dists_lenny_main_binary-i386_Packages.IndexDiff
-rw-r--r-- 1 root root 0 2009-05-08 04:20 www.debian-multimedia.org_dists_lenny_main_i18n_Translation-en%5fUS
-rw-r--r-- 1 root root 139018 2009-09-21 13:12 www.debian-multimedia.org_dists_lenny_main_source_Sources
-rw-r--r-- 1 root root 2023 2009-09-21 13:12 www.debian-multimedia.org_dists_lenny_main_source_Sources.Ind exDiff
-rw-r--r-- 1 root root 11483 2009-09-24 07:08 www.debian-multimedia.org_dists_lenny_Release

tuananh87vn
6th October 2009, 11:44
anybody helps me out :(

falko
7th October 2009, 14:24
I have no idea what's wrong... :(