Bug 156951 - in Manage Repositories, enter local file name in Third-Party Software, crashes program
Summary: in Manage Repositories, enter local file name in Third-Party Software, crashe...
Status: RESOLVED DUPLICATE of bug 148725
Alias: None
Product: adept
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Rockai
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-30 06:58 UTC by hokline
Modified: 2008-08-02 09:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hokline 2008-01-30 06:58:10 UTC
Version:           2.1 Cruiser (using KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

1. Start Adept program
2. select Adept drop-down menu
3. select Manage Repositories
4. select Third-Party Software
5. select Add
6. enter local file name (etc/tmp/xxx.inf)
7. select Reload information about available software
8. crash

I loaded the driver for a wireless device from a CD into a local file, thinking that adept would treat it the same as if it were accessed over the internet.
Adept added the local file name to the end of etc/apt/sources.list, causing Adept to crash.  I could not edit the file (only root could edit it).  apt-get update did not fix the problem.  I installed the system again (Kubuntu 7.10).

Why can't Adept work on local files?
Comment 1 Ralph Janke 2008-06-07 17:38:11 UTC
I can confirm this problem. This happens everytime the entered line is not a valid syntax (i.e. the "deb" at the beginning is missing). Since adept after that does not start again without an error widget and successive exiting, such problems cannot be fixed with adept anymore, but only by manually correcting the sources.list file. See also https://bugs.launchpad.net/ubuntu/+source/adept/+bug/237298 which was confirmed in Kubuntu Hardy 8.04 with adept version 2.1.3ubuntu25

The input should be checked for syntax before propagated to the sources.list file. Additionally, it should be possible that lines can be unchecked in the adept interface even if there are syntax errors.
Comment 2 Peter Rockai 2008-08-02 09:50:18 UTC

*** This bug has been marked as a duplicate of 148725 ***