Smart fails to run 'clean' command
Bug #249990 reported by
netmask
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smart Package Manager |
Invalid
|
Low
|
Gustavo Niemeyer |
Bug Description
On a clean system, with a freshly installed Smart, if user runs 'smart clean' before any other command, an error throws.
# smart clean -o loglevel=debug
error: Directory not found: /var/lib/
Related branches
Changed in smart: | |
status: | Fix Committed → In Progress |
To post a comment you must log in.
I don't see this as a bug. On a freshly installed smart, the packages dir
hasn't been created yet.
Maybe what we could do is add to the clean.py file is something where it
checks to see of the packages dir is created. If not, then create it and
return message that there are no packages to clean. Something like that.
On Fri, Jul 18, 2008 at 4:06 PM, netmask <email address hidden> wrote:
> Public bug reported: smart/packages/ /bugs.launchpad .net/bugs/ 249990 smart/packages/
>
> On a clean system, with a freshly installed Smart, if user runs 'smart
> clean' before any other command, an error throws.
>
> # smart clean -o loglevel=debug
> error: Directory not found: /var/lib/
>
> ** Affects: smart
> Importance: Undecided
> Status: New
>
> --
> Smart fails to run 'clean' command
> https:/
> You received this bug notification because you are a member of Smart
> Package Manager Team, which is the registrant for Smart Package Manager.
>
> Status in Smart Package Manager: New
>
> Bug description:
> On a clean system, with a freshly installed Smart, if user runs 'smart
> clean' before any other command, an error throws.
>
> # smart clean -o loglevel=debug
> error: Directory not found: /var/lib/
>