Junos OS

 View Only
last person joined: 21 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  System upgrade

    Posted 02-09-2009 06:30

    Hi everybody,


    If a forgot the "no-copy" option at the "request system software add".

    Can I simple delete the package out of the /var/sw/pkg/ dir? Or is for this a special command?

    Why is this package per default in this dir?





  • 2.  RE: System upgrade
    Best Answer

    Posted 02-09-2009 08:24

    Hi Macindy 


    You can use this command that will do the job for you:


    "request system storage cleanup"


    If you are not sure or if you just want to see what kind of files this command will erase you can use it this way:


    "request system storage cleanup dry-run"


    Nevertheless if you use it without the dry-run option the router will ask you to confirm if you realy want to erase the files.


    On the other hand you will certainly be able do delete only the package file using this comand under the shell with the root permission:

    "rm /cf/var/sw/pkg/junos-XYZ.tgz"


    Finally to answer to your last question the file is here I believe, only to have a clear way to tidy files and to be able to recover it easily.











  • 3.  RE: System upgrade

    Posted 02-09-2009 08:38
    Thank you for the quick answer - the cleanup command is a great solution. Thanks