Downloaded fwbackups file but now what? Help?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
KopyKat

Downloaded fwbackups file but now what? Help?

Post by KopyKat »

I downloaded fwbackups and saved to my download file. It shows up in the folder as the following:

/home/jerry/Downloads/fwbackups-1.43.4.tar.bz2 1.6 MB Tar Archive (bzip-compressed)

When I right click on it I get options: Open with Archive Manager, Open with Archive Mounter, Open with other program, and other options. I figured the first option is the usual one and when I opened it I got another screen with other options. I lost my nerve at that point and did not use any of the options given. Perhaps the extract here is correct? :?
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

Extract the archive and read the README file for instructions to install from source.
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

Cecar,

From the read me file it recommended I go to
and follow those instructions as they were the latest.
Ubuntu/Mint Linux

To install fwbackups from source on Ubuntu, download the source tarball to your home folder and then open a terminal session (select Applications > System Tools > Terminal). Type the following commands into the terminal:

sudo apt-get install gettext autotools-dev intltool python-crypto python-paramiko python-gtk2 python-glade2 python-notify cron
tar xfj fwbackups-1.43.4.tar.bz2
cd fwbackups-1.43.4
./configure --prefix=/usr
make && sudo make install

Some Ubuntu distributions no longer include the Python "site-packages" directory in their search path, which may prevent fwbackups from starting. If this is the case, execute this code in addition to the code above:

PYTHONVER=$(python -c 'import sys;print "%s.%s" % (sys.version_info[0], sys.version_info[1])')
sudo ln -s ../site-packages/fwbackups /usr/lib/python${PYTHONVER}/dist-packages/fwbackups
I did enter at the terminal
sudo apt-get install gettext autotools-dev intltool python-crypto python-paramiko python-gtk2 python-glade2 python-notify cron
tar xfj fwbackups-1.43.4.tar.bz2
and it went to work and did a bunch of stuff. Then I entered
cd fwbackups-1.43.4 ./configure --prefix=/usr make && sudo make install
and it said no such file or directory. I wasn't sure if each of those lines should be seperate commands so I tried
cd fwbackups-1.43.4
and same thing. I then did the PYTHONVER one and it said it was already installed and up to date.

I am now at a loss as to what to do next. Can you help with this?
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

Try line by line like this.

Code: Select all

cd

Code: Select all

cd fwbackups-1.43.4

Code: Select all

./configure --prefix=/usr

Code: Select all

make && sudo make install
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

I have a feeling i am not doing this right. Below is what I tried - please advise.

jerry@Jerry-System ~ $ select all
> cd
bash: syntax error near unexpected token `cd'
jerry@Jerry-System ~ $ select all
> cd fwbackups-1.43.4
bash: syntax error near unexpected token `cd'
Then:
jerry@Jerry-System ~ $ cd
jerry@Jerry-System ~ $ fwbackups-1.43.4
fwbackups-1.43.4: command not found
jerry@Jerry-System ~ $ select all cd
bash: syntax error near unexpected token `cd'
jerry@Jerry-System ~ $

Perhaps I do not really understand what I am supposed to do line by line. I tried putting in CODE: SELECT ALL in the terminal line but that was not correct either.
Last edited by KopyKat on Wed Apr 03, 2013 7:22 am, edited 1 time in total.
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

Yes thats wrong. Do not type in "select all" . The commands is what is below "select all". For example cd.
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

Is the below how I do it and if so something must not be right?

jerry@Jerry-System ~ $ cd
jerry@Jerry-System ~ $ cd fwbackups-1.43.4
bash: cd: fwbackups-1.43.4: No such file or directory
jerry@Jerry-System ~ $ ./configure --prefix=/usr
bash: ./configure: No such file or directory
jerry@Jerry-System ~ $ make && sudo make install
make: *** No targets specified and no makefile found. Stop.
jerry@Jerry-System ~ $
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

The directory do not exist. Type in

Code: Select all

ls -l
to see if there is a directory by that name.
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

I did this and here is what I got:
jerry@Jerry-System ~ $ cd
jerry@Jerry-System ~ $ cd fwbackups-1.43.4
bash: cd: fwbackups-1.43.4: No such file or directory
jerry@Jerry-System ~ $ ls -1
alx
compat-wireless-2012-07-03-pc
Desktop
Documents
Downloads
Music
Pictures
Public
rpmbuild
Templates
Videos
jerry@Jerry-System ~ $
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

Well its not there. Did you unpack it? Try to find it.

Code: Select all

find -iname fwbackups-1.43.4
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

Here is what is under downloads:

/home/jerry/Downloads/fwbackups-1.43.4
/home/jerry/Downloads/Exported Mail Data
/home/jerry/Downloads/Mail Folders
/home/jerry/Downloads/sunbird
/home/jerry/Downloads/BeerSmith-2.1.02_amd64.deb
/home/jerry/Downloads/fwbackups-1.43.4.tar.bz2

Here is what is under "/home/jerry/Downloads/fwbackups-1.43.4" :

/home/jerry/Downloads/fwbackups-1.43.4/bin
/home/jerry/Downloads/fwbackups-1.43.4/docs
/home/jerry/Downloads/fwbackups-1.43.4/pixmaps
/home/jerry/Downloads/fwbackups-1.43.4/po
/home/jerry/Downloads/fwbackups-1.43.4/src
/home/jerry/Downloads/fwbackups-1.43.4/aclocal.m4
/home/jerry/Downloads/fwbackups-1.43.4/AUTHORS
/home/jerry/Downloads/fwbackups-1.43.4/ChangeLog
/home/jerry/Downloads/fwbackups-1.43.4/configure
/home/jerry/Downloads/fwbackups-1.43.4/configure.ac
/home/jerry/Downloads/fwbackups-1.43.4/COPYING
/home/jerry/Downloads/fwbackups-1.43.4/fwbackups.spec
/home/jerry/Downloads/fwbackups-1.43.4/fwbackups.spec.in
/home/jerry/Downloads/fwbackups-1.43.4/INSTALL
/home/jerry/Downloads/fwbackups-1.43.4/install-sh
/home/jerry/Downloads/fwbackups-1.43.4/intltool-extract.in
/home/jerry/Downloads/fwbackups-1.43.4/intltool-merge.in
/home/jerry/Downloads/fwbackups-1.43.4/intltool-update.in
/home/jerry/Downloads/fwbackups-1.43.4/Makefile.am
/home/jerry/Downloads/fwbackups-1.43.4/Makefile.in
/home/jerry/Downloads/fwbackups-1.43.4/missing
/home/jerry/Downloads/fwbackups-1.43.4/NEWS
/home/jerry/Downloads/fwbackups-1.43.4/py-compile
/home/jerry/Downloads/fwbackups-1.43.4/test.operations.py
/home/jerry/Downloads/fwbackups-1.43.4/TODO
/home/jerry/Downloads/fwbackups-1.43.4/README

I did at an earlier point unpack it and it named this one "/home/jerry/Downloads/fwbackups-1.43.4 (2)" and I deleted the original and renamed this one to "/home/jerry/Downloads/fwbackups-1.43.4" Is it possible that when I renamed it that it somehow made it un available? Perhaps I should delete it and the extract again fresh?
Last edited by KopyKat on Wed Apr 03, 2013 8:10 am, edited 1 time in total.
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

Ok. Now we know where it is.

Code: Select all

cd /home/jerry/Downloads/fwbackups-1.43.4

Code: Select all

./configure --prefix=/usr

Code: Select all

make && sudo make install
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

Ok, progress is being made. Here is what happened after the last command was entered. I don't know if this means it was installed or not.

jerry@Jerry-System ~/Downloads/fwbackups-1.43.4 $ make && sudo make install
Making all in bin
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
Making all in po
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
Making all in pixmaps
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
Making all in src
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
Making all in src/fwbackups/operations
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
Making all in src/fwbackups
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups'
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4'
[sudo] password for jerry:
Making install in bin
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[2]: Nothing to be done for `install-exec-am'.
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/bin
/usr/bin/install -c -m 755 fwbackups /usr/bin/fwbackups
/usr/bin/install -c -m 755 fwbackups-run.py /usr/bin/fwbackups-run
/usr/bin/install -c -m 755 fwbackups-runonce.py /usr/bin/fwbackups-runonce
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/bin'
Making install in po
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
linguas=""; \
for lang in $linguas; do \
dir=/usr/share/locale/$lang/LC_MESSAGES; \
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d $dir; \
if test -r $lang.gmo; then \
/usr/bin/install -c -m 644 $lang.gmo $dir/fwbackups.mo; \
echo "installing $lang.gmo as $dir/fwbackups.mo"; \
else \
/usr/bin/install -c -m 644 ./$lang.gmo $dir/fwbackups.mo; \
echo "installing ./$lang.gmo as" \
"$dir/fwbackups.mo"; \
fi; \
if test -r $lang.gmo.m; then \
/usr/bin/install -c -m 644 $lang.gmo.m $dir/fwbackups.mo.m; \
echo "installing $lang.gmo.m as $dir/fwbackups.mo.m"; \
else \
if test -r ./$lang.gmo.m ; then \
/usr/bin/install -c -m 644 ./$lang.gmo.m \
$dir/fwbackups.mo.m; \
echo "installing ./$lang.gmo.m as" \
"$dir/fwbackups.mo.m"; \
else \
true; \
fi; \
fi; \
done
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/po'
Making install in pixmaps
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[2]: Nothing to be done for `install-exec-am'.
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/share/pixmaps/
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/share/fwbackups/
/usr/bin/install -c -m 644 fwbackups.svg /usr/share/pixmaps/fwbackups.svg
/usr/bin/install -c -m 644 fwbackups-32.png /usr/share/fwbackups/fwbackups.png
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/pixmaps'
Making install in src
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[2]: Nothing to be done for `install-exec-am'.
/bin/bash /home/jerry/Downloads/fwbackups-1.43.4/install-sh -d /usr/share/applications
/usr/bin/install -c -m 644 fwbackups.desktop /usr/share/applications/fwbackups.desktop
test -z "/usr/share/fwbackups" || /bin/mkdir -p "/usr/share/fwbackups"
/usr/bin/install -c -m 644 BugReport.glade cronwriter.py fwbackups.glade fwbackups-autostart.desktop fwbackups-runapp.pyw '/usr/share/fwbackups'
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src'
Making install in src/fwbackups/operations
make[1]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[2]: Entering directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/python2.7/dist-packages/fwbackups/operations" || /bin/mkdir -p "/usr/lib/python2.7/dist-packages/fwbackups/operations"
/bin/mkdir: cannot create directory `/usr/lib/python2.7/dist-packages/fwbackups': File exists
make[2]: *** [install-pyPYTHON] Error 1
make[2]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/jerry/Downloads/fwbackups-1.43.4/src/fwbackups/operations'
make: *** [install-recursive] Error 1
jerry@Jerry-System ~/Downloads/fwbackups-1.43.4 $
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

There is an icon under system tools but when I click on it nothing happens.
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

Try it from terminal. It might show you why its not working.

Code: Select all

fwbackups
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

Here is what it does:

jerry@Jerry-System ~ $ fwbackups
Traceback (most recent call last):
File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 29, in <module>
from fwbackups.const import *
ImportError: No module named fwbackups.const
jerry@Jerry-System ~ $
cecar
Level 4
Level 4
Posts: 370
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: Downloaded fwbackups file but now what? Help?

Post by cecar »

I found information of that problem here under point 3. http://www.diffingo.com/oss/fwbackups/faq Looks like it's a problem with installed version of Python. See there if there is a solution. Looks a bit complicated. I'm sorry i can't do more to help you on this.
KopyKat

Re: Downloaded fwbackups file but now what? Help?

Post by KopyKat »

You have been great. Thank you for all the help you did give.
JeremyCanfield

Re: Downloaded fwbackups file but now what? Help?

Post by JeremyCanfield »

Hey guys, I know my post is over a year since the last post, but I found this thread helpful while I was experiencing the same issues, and I happened upon a fix. So, Jerry was getting this error. I was getting the same exact error:

Code: Select all

jerry@Jerry-System ~ $ fwbackups
Traceback (most recent call last):
File "/usr/share/fwbackups/fwbackups-runapp.pyw", line 29, in <module>
from fwbackups.const import *
ImportError: No module named fwbackups.const
jerry@Jerry-System ~ $


We will recall these are the steps to install FWbackups on Linux Mint:

Code: Select all

sudo apt-get install gettext autotools-dev intltool python-crypto python-paramiko python-gtk2 python-glade2 python-notify cron
cd fwbackups-versionnumber
./configure --prefix=/usr
make && sudo make install

During my install, the "make && sudo make install" gave a long log. At the end of the log, was this:

Code: Select all

/bin/mkdir: cannot create directory ‘/usr/lib/python2.7/dist-packages/fwbackups’: File exists
make[2]: *** [install-pyPYTHON] Error 1
make[2]: Leaving directory `/tmp/fwbackups-1.43.4/src/fwbackups/operations'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/fwbackups-1.43.4/src/fwbackups/operations'
make: *** [install-recursive] Error 1

Notice at the end of this log are a few errors. Notice also it says "cannot create directory ‘/usr/lib/python2.7/dist-packages/fwbackups’." When I went to this file, and tried to open it, I got error: "The link fwbackups is broken. Move it to trash? This link cannot be used, because it's target "../site-packages/fwbackups" doesn't exist. Cancel? Move to Trash?" I moved it to the trash. Then I ran this command again: <i>make && sudo make install</i>. Much to my surprise, this fixed the problem! I opened a new terminal, keyed in fwbackups, and it fired up perfectly!
Locked

Return to “Beginner Questions”