Bug 25464

Summary: некорректно работает удаление добавленного
Product: Sisyphus Reporter: Anton Farygin <rider>
Component: apt-repoAssignee: Andrey Cherepanov <cas>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: critical    
Priority: P3 CC: cas, dd1email, rider
Version: unstable   
Hardware: all   
OS: Linux   

Description Anton Farygin 2011-04-18 22:26:51 MSK
[root@riderkvm64 ~]# apt-repo list -a|grep p5
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
[root@riderkvm64 ~]# apt-repo add branch p5
[root@riderkvm64 ~]# apt-repo list -a|grep p5
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch noarch classic
[root@riderkvm64 ~]# apt-repo rm branch p5
[root@riderkvm64 ~]# apt-repo list -a|grep p5
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
[root@riderkvm64 ~]# apt-repo add branch p5
[root@riderkvm64 ~]# apt-repo list -a|grep p5
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch noarch classic
[root@riderkvm64 ~]# apt-repo rm branch p5
[root@riderkvm64 ~]# apt-repo list -a|grep p5
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
rpm [p5] http://ftp.altlinux.org/pub/distributions/ALTLinux/p5/branch x86_64
Comment 1 Anton Farygin 2011-04-18 22:27:51 MSK
судя по содержимому sources.list - добавление тоже работает некорректно, лишний перевод строки.
Comment 2 Andrey Cherepanov 2011-04-19 13:01:30 MSK
Посмотрю.
Comment 3 Repository Robot 2011-04-19 13:29:10 MSK
apt-repo-1.0.1-alt1 -> sisyphus:

* Tue Apr 19 2011 Andrey Cherepanov <cas@altlinux> 1.0.1-alt1
- Fix arch definition on x86_64 (closes: #25464)