<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>32434</bug_id>
          
          <creation_ts>2016-08-25 20:25:07 +0300</creation_ts>
          <short_desc>apt-repo can&apos;t rm p8 (uncommented from apt-conf-branch)</short_desc>
          <delta_ts>2019-05-20 17:17:29 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>apt-repo</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>158292</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2016-08-25 20:25:07 +0300</bug_when>
    <thetext>I&apos;ve uncommented the http sources from apt-conf0-branch, and apt-repo can&apos;t rm them. Perhaps, that&apos;s because they use [p8], and not [updates]:

[root@sogoserver etc]# apt-repo
[root@sogoserver etc]# emacs apt/sources.list.d/alt.list 
[root@sogoserver etc]# apt-repo 
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic
[root@sogoserver etc]# apt-get update
Get:1 http://ftp.altlinux.org p8/branch/x86_64 release [896B]
Get:2 http://ftp.altlinux.org p8/branch/x86_64-i586 release [555B]
Get:3 http://ftp.altlinux.org p8/branch/noarch release [691B]
Fetched 2142B in 0s (13,8kB/s)
Hit http://ftp.altlinux.org p8/branch/x86_64/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64/classic release
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic release
Hit http://ftp.altlinux.org p8/branch/noarch/classic pkglist
Hit http://ftp.altlinux.org p8/branch/noarch/classic release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@sogoserver etc]# apt-repo rm p8
[root@sogoserver etc]# apt-repo 
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic
[root@sogoserver etc]# rpm -q apt-repo
apt-repo-1.3.7-alt1
[root@sogoserver etc]# rpm -q apt-conf-branch
apt-conf-branch-8.0.0-alt2
[root@sogoserver etc]# 

[root@sogoserver etc]# git revert HEAD --no-edit
[master 31323c9] Revert &quot;APT p8 sources uncommented (as before, but without debuginfo) to test apt-repo&quot;
[root@sogoserver etc]# apt-repo
[root@sogoserver etc]# apt-repo add p8
[root@sogoserver etc]# apt-repo
rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic
rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64-i586 classic
[root@sogoserver etc]# apt-get update
Get:1 http://ftp.altlinux.org p8/branch/x86_64 release [896B]
Get:2 http://ftp.altlinux.org p8/branch/noarch release [691B]
Get:3 http://ftp.altlinux.org p8/branch/x86_64-i586 release [555B]
Fetched 2142B in 0s (36,4kB/s)
Hit http://ftp.altlinux.org p8/branch/x86_64/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64/classic release
Hit http://ftp.altlinux.org p8/branch/noarch/classic pkglist
Hit http://ftp.altlinux.org p8/branch/noarch/classic release
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic pkglist
Hit http://ftp.altlinux.org p8/branch/x86_64-i586/classic release
Reading Package Lists... Done
Building Dependency Tree... Done
[root@sogoserver etc]#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181717</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-05-20 17:17:29 +0300</bug_when>
    <thetext>apt-repo-1.3.10-alt1 -&gt; sisyphus:

Mon May 20 2019 Andrey Cherepanov &lt;cas@altlinux&gt; 1.3.10-alt1
- Add p9 branch.
- Add --dry-run mode (ALT #35726).
- Support to add archive of branch (ALT #30841).
- Show and remove all non-commented and non-empty sources (ALT #30008).
- Add key [&lt;branch_name&gt;] in addition to [updates] for branch source (ALT #32434).
- Add arepo repository for added file: source.
- Check task existance for apt-repo list task (ALT #34222).
- Set new format only URL contains at least 3 parts.
- Add new command `set` to remove all exising sources and add specified branch.
- Ignore -devel* packages in task operation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>