apply quota patch to postfix

Discussion in 'HOWTO-Related Questions' started by tuananh87vn, Sep 24, 2009.

  1. tuananh87vn

    tuananh87vn Member

    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_Sources - open (2 No such file or directory)

    how can apply patch to postfix then?

    how was that? =.=
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Can you run
    Code:
    apt-get update
    and try again?
     
  3. tuananh87vn

    tuananh87vn Member

    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 =.=
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/apt/sources.list?
     
  5. tuananh87vn

    tuananh87vn Member

    here is the content of /etc/apt/sources.list

    Code:
    #
    # 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
    
    
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Looks ok.
    What's the output of
    Code:
    ls -la /var/lib/apt/lists/
    ?
     
  7. tuananh87vn

    tuananh87vn Member

    here is the output:
    Code:
    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_Sources
    -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_binary-i386_Packages
    -rw-r--r-- 1 root root    12965 2006-06-10 11:43 ftp.debian-unofficial.org_debian_dists_stable_restricted_source_Sources
    -rw-r--r-- 1 root root   314913 2009-08-15 08:36 http.us.debian.org_debian_dists_lenny_contrib_binary-i386_Packages
    -rw-r--r-- 1 root root   166838 2009-06-27 13:02 http.us.debian.org_debian_dists_lenny_contrib_source_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_binary-i386_Packages
    -rw-r--r-- 1 root root   216854 2009-09-24 08:24 security.debian.org_dists_lenny_updates_main_source_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.IndexDiff
    -rw-r--r-- 1 root root    11483 2009-09-24 07:08 www.debian-multimedia.org_dists_lenny_Release
    
    
     
  8. tuananh87vn

    tuananh87vn Member

    anybody helps me out :(
     
  9. falko

    falko Super Moderator Howtoforge Staff

    I have no idea what's wrong... :(
     

Share This Page