Verified in maverick using the package in proposed.

Reproducing the error (note: the authenticated repo I'm using is lucid, but it 
doesn't matter because all I want is the 401 error):
root@ls3:~# /usr/share/smart/smart update 
aptsync-934815f120a8ad05a851477558b537ba
Loading cache...
Updating cache...                                                
##########################################################################################
 [100%]

Fetching information for 'lucid - main'...                                      
                                                                                
  
-> 
https://ahasenack:*@private-ppa.launchpad.net/landscape/lds-proposed/ubuntu/dists/lucid/Release.gpg
                                                            
Release.gpg                                                      
##########################################################################################
 [ 33%]
-> 
https://ahasenack:*@private-ppa.launchpad.net/landscape/lds-proposed/ubuntu/dists/lucid/Release
                                                                
Release                                                          
##########################################################################################
 [ 66%]
error: Channel 'lucid - main' signed with unknown key              


Updating the package:

root@ls3:~# apt-get install python-smartpm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  python-smartpm
1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 258kB of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick-proposed/main 
python-smartpm i386 1.3-1ubuntu0.2 [258kB]
Fetched 258kB in 0s (390kB/s)        
(Reading database ... 56327 files and directories currently installed.)
Preparing to replace python-smartpm 1.3-1ubuntu0.1 (using 
.../python-smartpm_1.3-1ubuntu0.2_i386.deb) ...
Unpacking replacement python-smartpm ...
Processing triggers for python-support ...
Setting up python-smartpm (1.3-1ubuntu0.2) ...
Processing triggers for python-support ...



Running again, now we get a proper 401:

root@ls3:~# /usr/share/smart/smart update 
aptsync-934815f120a8ad05a851477558b537ba
Loading cache...
Updating cache...                                                
##########################################################################################
 [100%]

Fetching information for 'lucid - main'...                                      
                                                                                
  
-> 
https://ahasenack:*@private-ppa.launchpad.net/landscape/lds-proposed/ubuntu/dists/lucid/Release.gpg
                                                            
Release.gpg                                                                     
                                                                            [  
0%]
-> 
https://ahasenack:*@private-ppa.launchpad.net/landscape/lds-proposed/ubuntu/dists/lucid/Release
                                                                
Release                                                                         
                                                                            [  
0%]
error: Download of Release failed for channel 'lucid - main': The requested URL 
returned error: 401

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/244453

Title:
  pycurl does not fail on authentication error

To manage notifications about this bug go to:
https://bugs.launchpad.net/smart/+bug/244453/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to